Tests are an important part of the development, and sometimes, a forgotten part. Is tedious write, maintain and remember to launch the tests, and when we realise their utility or want to use them, maybe is too late.
The continuous integration proposes and allows automate some processes in order to find the failures as soon as possible.
In this post, we’ll see how to launch unit tests (called in Unity “Edit Mode Tests”) everytime we make a SourceTree commit. If we the tests are passed, the commit will continue, if not, the commit will aborts.