Unity AAA Test Pattern

  Рет қаралды 1,979

DVS Devs (Dan Violet Sagmiller)

DVS Devs (Dan Violet Sagmiller)

Күн бұрын

Пікірлер: 6
@sanatdeveloper
@sanatdeveloper 5 ай бұрын
This video deserves hundreds thousands view!
@dvsdev
@dvsdev 5 ай бұрын
Thank you! I appreciate that.
@Joseguepardo
@Joseguepardo Жыл бұрын
Great video! I do have one question though... generally speaking, should you write unit tests for every function of a class in a project?
@dvsdev
@dvsdev Жыл бұрын
No. If a system is depended on by many other things, then it is more important to test. But in games, many things are really difficult to validate with automation. Physics, Audio, FX, Random, UI, textures, 3D model placement, these are all really difficult to write meaningful test cases for, and they are also much easier to validate by humans. But how the classes communicate, validating the details of the save file, making sure the logic states change at the appropriate times, these are easy to validate in Unit tests and difficult for humans. There is a clear cut off of what works well to automate or not. Anything I classify as Architecture or System will typically have 100% code coverage. But the closer it is to a component of a playable game object, the less likely I am to write tests. These change much more often too, so your test cases invalidate themselves very quickly.
@sadbuttrue666
@sadbuttrue666 8 ай бұрын
Hey, thank you so much for your video(s). You cover things I need to know and get the information to the point without making hour long videos. However, I also have to say that I find the AI generated images completely distracting. A simple screen capture while typing and explaining would be perfectly adequate and more appealing to me. Thank you and have a nice day :)
@dvsdev
@dvsdev 5 ай бұрын
That is a good point. I will keep that in mind. Its also good to get these comments on this one. I'm looking back at this one and finding it useful. It was a different style of editing and takes more effort to prepare. But, it worked out much better in the end as well.
Testing MonoBehaviours
3:38
DVS Devs (Dan Violet Sagmiller)
Рет қаралды 1 М.
Architecture Talk at GDG
53:10
DVS Devs (Dan Violet Sagmiller)
Рет қаралды 865
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 41 МЛН
Low Level Memory in C#/Unity?
42:48
DVS Devs (Dan Violet Sagmiller)
Рет қаралды 2,1 М.
Test Driven Development Tutorial For Beginners
23:54
Continuous Delivery
Рет қаралды 62 М.
How to Program in Unity: Command Pattern Explained
22:37
iHeartGameDev
Рет қаралды 69 М.
Learn Unit Testing for MVP/MVC Architecture in Unity
20:13
git-amend
Рет қаралды 8 М.
Software Architecture in Unity
7:13
Jason Storey
Рет қаралды 119 М.
Python vs C# - which should you choose?
16:02
Chris Hawkes
Рет қаралды 44 М.
C# Events & Delegates
17:21
Tarodev
Рет қаралды 89 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 721 М.