Unit Testing in Unity

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.

1 Like

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.