Skip to content

A sample Unity Pong game to show how to do basic unit testing with the Test Framework package, with a CI/CD integration thanks to Codemagic.

Notifications You must be signed in to change notification settings

MinaPecheux/Unity-UnitTestingPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[Unity/C#] Unit testing a Pong game (with Codemagic)

Mina Pêcheux - January 2022

Codemagic build status

Unit testing is a fundamental step in any automation process because it allows you to programmatically check if the features work properly, and it avoids code regressions! But it's not used that often by game developers, despite its benefits in terms of code quality, robustness and maintenance...

So, for example, how can we do unit testing in Unity for a basic game like Pong?


In this repo, I share a simple copy of the famous Pong game with a bunch of C# unit tests that use the Unity Test Framework package. The repo also uses continuous integration & continuous development (CI/CD) tools relying on Codemagic's workflows.

For more info, check out the article on Codemagic!

demo

About

A sample Unity Pong game to show how to do basic unit testing with the Test Framework package, with a CI/CD integration thanks to Codemagic.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages