Writing Maintainable Unit Tests
- 3 hours on-demand video
- 1 downloadable resource
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- How to apply the test pyramid
- Learn about state and behaviour verification
- Understand and apply the DRY, SRP and DAMP principles
- How to organise unit tests
- Build loosely coupled unit tests
- Provide intentful assertions and observations
- A decent understanding of an object-oriented programming language, preferrably C# or Java.
- At the very least some first experiences writing unit tests for production code.
- Basic or intermediate knowledge of xUnit test frameworks (e.g. NUnit, JUnit, xUnit, ...).
- Basic or intermediate knowledge of mocking frameworks in general.
Are unit tests causing you pain? Are they constantly failing whenever you make changes to your production code? Do you spend a lot of time fixing them when they break? Are they difficult to set up and run? Do you have a hard time maintaining or structuring your unit test code? Are they causing you headaches from time to time? Are you ready to give up on writing unit tests or have you already done so?
Or do you just want to step up your game and want to learn more about how to write readable and maintainable unit tests?
This course is for software developers who want to improve upon their existing skills for writing unit tests. By the end of this course, students will have gained the knowledge to build loosely coupled, highly maintainable and robust unit tests that are trustworthy and improve the overall code quality of your software applications. The content of this course is based on 15+ years of experience with Test-Driven Development. This knowledge is essential for becoming a senior-level software developer or a technical lead.
Although the examples that are used throughout this course are written in C#, the principles and guidance discussed here are broadly applicable to other platforms and programming environments as well. So students will be able to universally apply this knowledge throughout the rest of their careers as software developers.
- This course is for software developers who want to improve upon their existing skills for writing readable and maintainable unit tests.