Category

Test Refactoring

Making unit tests clearer, faster, and more trustworthy.

6 articles

[Test Refactoring Part 5] Dependency Simplification

Wrap up the test refactoring series by simplifying dependencies into clean, testable abstractions.

18 min

[Test Refactoring Part 4] Hidden Concrete Types

Learn how to overcome challenges of testing code with static dependencies. Discover strategies to refactor static code, introduce time provider abstractions, and handle manual delays for improved testability. Build more reliable software with comprehensive testing practices. Read more! ?

29 min

[Test Refactoring Part 3] Concrete Dependencies

Learn how pruning concrete dependency trees from your code with C# abstraction super charges unit testability. Regain determinism with these simple steps today.

18 min

[Test Refactoring Part 2] Sticky Loops

Stuck trying to unit test logic in C# CancellationToken, or infinite loops? These simple steps will bring back determinism to your tests ?

14 min

[Test Refactoring Part 1] Introducing The Problem Code

Dot net core unit testing should be easy. Follow this series to learn simple steps to refactor legacy code into the stuff of unit testing dreams! ?

12 min

[Series] Your .Net Unit Tests Are Judging You: Why You Should Listen to them

Unit testing C# code should be simple! Watch as we use basic steps to refactor and unit test some awful legacy code. All while launching sloths in space ?!

3 min