Having problems writing tests for code? Not sure how to start writing tests? Testable code follows specific patterns, principles, and practices to make it testable. We will cover Dependency Injection (DI), decoupling, mocking, and other code architecture techniques to make your code easier to write tests for. Common problem areas with practical solutions will be discussed, including race conditions, timing, dynamic data, databases, and external dependencies.

Comments

Please login to leave a comment

Bill Tressler at 15:54 on 22 May 2025

Great talk on how we can design our projects to make life easier by testability