A game developer and tech lead in a top grossing company posting Unity, programming, and gamedev related stuff that I find interesting
Website: https://gamedev.center
Most used tags are:
#performance
#shader
#interview
Author: @alexmtr
Post #2316
591
Unit Testing Made Easy: How I Test My Game Made With Unity ECS
I haven't posted on my blog for a while, partly because I've been investing time in developing my game, which is still in its very early stages. Nonetheless, I wanted to share how I write unit tests for this game, built using Unity.Entities – an ECS implementation by Unity itself. It's not rocket science, but I did spend some time setting it up, so you don't have to invest your own if you plan to add automated tests to your ECS-based game.
What I find even more interesting is setting up performance tests for the same project and the benefits it brings. I'm planning to share this as the second post in this series soon, so stay tuned.
https://gamedev.center/unit-testing-made-easy-unity-ecs-best-practices/
A sample repo which will be extended with performance tests for the second post: https://github.com/AlexMerzlikin/UnityEntities-AutomatedTests-Sample
#ecs #dots #testing
I haven't posted on my blog for a while, partly because I've been investing time in developing my game, which is still in its very early stages. Nonetheless, I wanted to share how I write unit tests for this game, built using Unity.Entities – an ECS implementation by Unity itself. It's not rocket science, but I did spend some time setting it up, so you don't have to invest your own if you plan to add automated tests to your ECS-based game.
What I find even more interesting is setting up performance tests for the same project and the benefits it brings. I'm planning to share this as the second post in this series soon, so stay tuned.
https://gamedev.center/unit-testing-made-easy-unity-ecs-best-practices/
A sample repo which will be extended with performance tests for the second post: https://github.com/AlexMerzlikin/UnityEntities-AutomatedTests-Sample
#ecs #dots #testing
- 🔥 6
- 👍 3


