MENU

Fun & Interesting

The complete guide to unit testing structure best practices

Amichai Mantinband 32,093 2 years ago
Video Not Working? Fix It Now

Get the source code: https://www.patreon.com/amantinband. In today's video, we'll break down everything you need to know to set up your unit testing structure to strive! Link to the full playlist: https://www.youtube.com/watch?v=fhM0V2N1GpY&list=PLzYkqgWkHPKBcDIP5gzLfASkQyTdy0t4k&index=1&t=0s Connect with me on 'em socials: Twitter: https://twitter.com/amantinband LinkedIn: https://www.linkedin.com/in/amantinband/ GitHub: https://github.com/amantinband 00:00. Intro 01:48. Root folder structure & creating test projects 05:08. The source code we'll write the test for 05:52. Test file naming and folder structure 07:40. Test naming - T1_T2_T3 10:48. Other common approaches 13:47. Importance of test naming 15:17. Unit test implementation part 1 - Arrange, Act, Assert 16:11. Test utilities part 1 - Building a mini-test framework 19:37. Test constants part 1 - Modules 23:13. Test utilities part 2 25:03. Test constants part 2 - Constant, yet different? 26:27. Test utilities part 3 28:09. Unit test implementation part 2 30:29. Validation utilities - Modular extension methods? 33:31. Creating multiple valid objects 35:14. Test utilities part 4 - Mini-test framework grand finale 40:40. Running and debugging the test 42:33. Recap 43:44. Patrons ♥️

Comment