Introducing Testing into our Platformer @WorldOfZeroDevelopment
Introducing Testing into our Platformer  @WorldOfZeroDevelopment
Uploaded March 2020 | Updated November 2026, 5 minutes ago
Previously we had looked into providing an [abstraction layer](youtu.be/emzftWxwS1c) over our character controller to allow us to build modular pieces instead of a single monolithic character controller. In this video we'll take advantage of that design to add NUnit tests over our basic character controller. This should help allow us to validate the behavior of our character controller and ensure future changes do not negatively impact the stability of our game.

Unity includes NUnit testing already - a framework I am not familiar with - we'll be exploring how to setup some basic tests, build out a few custom Mocks for our classes and test the basic top down controller we had previously built. At the end of this we'll have test coverage over the movement action of our character controller that allows us to validate our player moving.

This video is specifically looking at unit tests, integration and end-to-end tests are larger more complex problems that I'm not sure how we want to cover yet.

More NUnit documentation is available on GitHub: github.com/nunit/docs/wiki/NUnit-Documentation

Join the World of Zero Discord Server: discord.gg/hU5Kq2u
Introducing Testing into our PlatformerThe Search for Objects - Unity Observer - Part 1Using Your Terminals Directory Stack to Work With Multiple DirectoriesUsing Polar Coordinates in Unity Shader GraphsLets Explore Implicit Usings in C# 10Building worldofzero.com - Improved Video DescriptionsRotation Math Tricks - Using Unitys Quaternion OperatorsMath in the Unity Inspector - Quick TipStarting to Build a Spigot Minecraft Mod - Building MC-Clone - Part 1Building a Cloud Game w/ @MicrosoftReactor -  Day 1Learning Async Unity Scene LoadingOpen Source Contributions and Other Projects
World of Zero |

Introducing Testing into our Platformer

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER