Is there any best practices for unit testing with Unity?
Hard to find a good mock library too for such an old C# version.
Any suggestions or links to good articles to read? Thanks!
Is there any best practices for unit testing with Unity?
Hard to find a good mock library too for such an old C# version.
Any suggestions or links to good articles to read? Thanks!
Im just getting into Test driven devolepment myself and followed a youtube tutorial series.
he uses Zenjet for dependency injection and NSubstitute for mocking.
I definately suggest Zenject, it is great. It als contains some build of Moq that works with Unity.
Thanks I will check it out.
https://github.com/modesttree/Zenject
Repo for anyone else who wanders upon this thread.