The complete guide to unit testing structure best practices
Vložit
- čas přidán 22. 05. 2024
- Get the source code: / 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: • ASP.NET 6 REST API Fol...
Connect with me on 'em socials:
Twitter: / amantinband
LinkedIn: / amantinband
GitHub: 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 ♥️ - Věda a technologie