How to implement Unit Test at Unity3D.
I wonder if it would be possible to extend the Unity editor to have some sort of testing framework in it.
- Is there any guideline to implement it?
- Any reference like book, blog?
- Any working example or project?
I use with success NunitLite with the NunitLiteRunner plugin https://bitbucket.org/fddima/nunitlite/src/8a4e3c72f295?at=default
If you can be interested, I also blogged about IoC container that can help you with testing:
Edit: while the blog posts are still useful, you don't need nunitlite anymore nowadays. Unit Test Runner is now integrated in Unity. Unity Test Tools also adds more features on top of that: https://www.assetstore.unity3d.com/en/#!/content/13802
There is a free package with test automation tools provided by Unity Technologies in the Asset Store: Unity Test Tools