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
Watch video Learn Unit Testing for MVP/MVC Architecture in Unity online without registration, duration hours minute second in high quality. This video was added by user git-amend 21 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,56 once and liked it 37 people.