Unit Testing - Part III | Wrapper (Serialization) | Unity Tutorial

preview_player
Показать описание
In the previous video of this tutorial series, we started with wrapping Unity objects in order to make our classes testable. Sadly, we lost the possibility to drag and drop objects into the fields of our component via the Inspector. In this video, we'll find a solution for that.

Unit Testing and Facial Expressions series:
- Part III | Wrapper - Serialization: current video

Basics about Unit Testing and TDD:

If you like our tutorials feel free to give us a like or share it!

#unity #wrapper #tdd

You can also support us on Patreon :)

🙏 Thank you very much for all our Patrons 🙏

------------ Find us here: ------------
Рекомендации по теме
Комментарии
Автор

Really nice tutorial series! You explain all the steps so clearly. The whole process seems like a pain but maybe in some cases it can be worth it. Looking for new videos to this series!

Haapavuo
Автор

Very nice tutorial. Like anyone i feel it's painful and very time consuming but : it's easy to develop a small editor ready to write the test classes by itself and wraps everything well.

infokubarcade
Автор

Seems like a series of code hacks to fix architectural limitations when trying to use 3rd party libs that aren't fully compatible with Unity. The solution: stuff the 3rd party lib down the throat of your project by implementing a series of code hacks and workarounds to just make it work. You win the benefit of fully testable code (for which you need to write more code to test and more and more wrappers to keep that benefit) but on the other side you bloat your project with a mess of wrappers all over the place that will eventually make your logic harder to follow and debug.
But the videos have a great presentation quality and are still useful for learning various programming patterns.
At the end of the day each must strike a balance within a project.

floky
Автор

This is too complicated to be used on real projects. Testing by hand will take less time than writing those wrappers.

pnarimani
join shbcf.ru