/HappyTDD

Let's embrace Test Driven Development

Primary LanguageC#Apache License 2.0Apache-2.0

HappyTDD

Let's embrace Test Driven Development

Laws of TDD

You are not allowed to write any production code unless it is to make a failing unit test pass.

You are not allowed to write any more of a unit test than is sufficient to fail.

You are not allowed to write any more production code than is sufficient to pass the failing test.

Steps of TDD (red green refactor cycle)

1.Create a failing Unit test.

2.Make the test pass.

3.Refactor your mess.