Unit testing is an important part of product development. In the gaming industry this phase is mostly overlooked as it takes a lot of time to implement and adds more time to development. However, when the products get bigger it becomes harder to test everything after every new feature. Also when the development team becomes bigger it increases the chances of someone breaking someone else’s code. Unit test is a great way to add validations to guarantee that these types if scenarios does not happen,
While I was working at Matific, I was asked to develop their Unit testing platform. Under their mentoring I developed the Unit testing infrastructure for the Unity team. I implemented the basic infrastructure necessary for unit testing, mocking techniques and good programming practices that can be used to make the scripts unit test friendly. I also got the opportunity to present the infrastructure to the whole team and with the support of another Unit test expert at Matific we were successfully able to establish unit testing for the core unity product in Matific.