SkillAgentSearch skills...

DesignForTestability

Sample code for the "You Suck at TDD" Series

Install / Use

/learn @ericgu/DesignForTestability
About this skill

Quality Score

0/100

Category

Design

Supported Platforms

Universal

README

DesignForTestability

This is an example project with code that exhibits common issues that make it hard to write tests.

The exercise is to take the current implementation of the Yucky class, refactor it into testable code, and add those tests.

My recommended approach is to look at the code, write down the issues that you have found, and take a try at refactoring. Then, go and read the "You suck at TDD series", come back, and see if you have any new thoughts.

<a href="https://social.msdn.microsoft.com/Search/en-US?query=You%20Suck%20At%20TDD&beta=0&rn=Eric+Gunnerson%26%2339%3bs+Compendium&rq=site:blogs.msdn.com/b/ericgu/&ac=5">You Suck at TDD</a>

View on GitHub
GitHub Stars9
CategoryDesign
Updated2y ago
Forks6

Languages

C#

Security Score

55/100

Audited on Apr 4, 2024

No findings