HOME > Development > Writing Maintainable Unit Tests

Writing Maintainable Unit Tests

  • Development
  • May 01, 2025
SynopsisWriting Maintainable Unit Tests, available at $44.99, has an...
Writing Maintainable Unit Tests  No.1

Writing Maintainable Unit Tests, available at $44.99, has an average rating of 4.27, with 41 lectures, based on 55 reviews, and has 391 subscribers.

You will learn about 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 This course is ideal for individuals who are This course is for software developers who want to improve upon their existing skills for writing readable and maintainable unit tests. It is particularly useful for This course is for software developers who want to improve upon their existing skills for writing readable and maintainable unit tests.

Enroll now: Writing Maintainable Unit Tests

Summary

Title: Writing Maintainable Unit Tests

Price: $44.99

Average Rating: 4.27

Number of Lectures: 41

Number of Published Lectures: 41

Number of Curriculum Items: 41

Number of Published Curriculum Objects: 41

Original Price: $129.99

Quality Status: approved

Status: Live

What You Will Learn

  • 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
  • Who Should Attend

  • This course is for software developers who want to improve upon their existing skills for writing readable and maintainable unit tests.
  • Target Audiences

  • This course is for software developers who want to improve upon their existing skills for writing readable and maintainable unit tests.
  • 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 on the brink of giving up on writing unit tests altogether 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 experienced software developers who want to improve upon their existing skills in 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 (Java, Python, JavaScript, etc.). So students will be able to universally apply this knowledge throughout the rest of their careers as software developers.

    Course Curriculum

    Chapter 1: Types Of Automated Tests

    Lecture 1: Introduction

    Lecture 2: Taxonomy of Tests

    Lecture 3: Solitary Versus Sociable Tests

    Lecture 4: The Test Pyramid

    Lecture 5: State Versus Behaviour Verification

    Lecture 6: Test-Driven Development

    Lecture 7: Summary

    Chapter 2: Maintainable Unit Tests

    Lecture 1: Introduction

    Lecture 2: Clean Unit Tests

    Lecture 3: The DRY Principle

    Lecture 4: The Single Responsibility Principle

    Lecture 5: The DAMP Principle

    Lecture 6: Other Characteristics Of Maintainable Unit Tests

    Lecture 7: Summary

    Chapter 3: The Anatomy Of Unit Tests

    Lecture 1: Introduction

    Lecture 2: Arrange, Act, Assert

    Lecture 3: AAA Per Test Method

    Lecture 4: Single Assert Per Test

    Lecture 5: Avoid SetUp / TearDown

    Lecture 6: AAA Per Test Class

    Lecture 7: Assert Last Principle

    Lecture 8: Naming Unit Tests

    Lecture 9: Summary

    Chapter 4: Decoupling Patterns

    Lecture 1: Introduction

    Lecture 2: Only Test Public Interfaces

    Lecture 3: Object Mother

    Lecture 4: Test Data Builder

    Lecture 5: State Versus Behaviour Verification

    Lecture 6: Indirect Inputs and Outputs

    Lecture 7: Test Doubles

    Lecture 8: Subject Under Test Builder

    Lecture 9: Auto Mocking Container

    Lecture 10: Fixture Object

    Lecture 11: Summary

    Chapter 5: Assertions And Observations

    Lecture 1: Introduction

    Lecture 2: Clear Observations

    Lecture 3: Only Asserts Should Fail a Test

    Lecture 4: Single Assert Per Test

    Lecture 5: Procedural vs Object State Verification

    Lecture 6: Summary

    Chapter 6: Conclusion

    Lecture 1: Conclusion

    Instructors

  • Writing Maintainable Unit Tests  No.2
    Jan Van Ryswyck
    Owner at Principal IT
  • Rating Distribution

  • 1 stars: 0 votes
  • 2 stars: 1 votes
  • 3 stars: 9 votes
  • 4 stars: 23 votes
  • 5 stars: 22 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!