Walk through Unit Testing with the Unity Test Runner in Edit and Play modes in this first installment of the MVP/MVC series. We'll create some sample tests, helper Attributes and Classes, plus Spies and Mocks with NSubstitute!
🔔 Subscribe for more Unity Tutorials / @git-amend
Discord: / discord
#unity3d #gamedev #indiedev
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 Getting Started
3:03 Assertions
6:35 MVC Overview
9:25 Mocks and Spies
14:25 Play Mode Tests
https://martinfowler.com/bliki/GivenW...
https://martinfowler.com/articles/moc...
NSubstitute: https://github.com/Thundernerd/Unity3...
Source code:
LoadSceneAttribute: https://gist.github.com/adammyhre/20d...
Preconditions: https://gist.github.com/adammyhre/82d...
Observable: https://gist.github.com/adammyhre/3c5...
Assets Shown In This Video (Affiliate Links)
Eole Foliage Shader: https://assetstore.unity.com/packages...
Dungeon Mason Tiny Hero Duo: (FREE): https://assetstore.unity.com/packages...
Kronnect Beautify: https://assetstore.unity.com/packages...
Kyeoms VFX: https://assetstore.unity.com/publishe...
Follow me!
https://linktr.ee/gitamend