Skip to content

Commit

Permalink
Added about Red, Green, Refactor approach
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrussellHO committed Jan 19, 2024
1 parent 8191218 commit 8f923f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/standards/developer-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Testing can come in different forms, for example unit/integration/mutation/prope

Writing tests early and often in a software development process reduces the amount of time spent debugging. Good tests written early helps improve the overall assurance and design quality of your application.

Test Driven Development (TDD) is a valuable development approach that can help towards achieving this. This development approach encourages you to think ahead on how your requirements can be met by thinking on how your solution can be tested first at unit level. Once a test is written first albeit failing due to non-existing solution, you can implement your solution to pass the test, and then refactor. "Testing early and often" in this case leads to "refactoring early and often", which continuously improves the quality of your application code and design.
Test Driven Development (TDD) is a valuable development approach that can help towards achieving this. This development approach encourages you to think ahead on how your requirements can be met by thinking on how your solution can be tested first at unit level. Once a test is written first albeit failing due to non-existing solution, you can implement your solution to pass the test, and then refactor. "Testing early and often" in this case leads to "refactoring early and often", which continuously improves the quality of your application code and design. This is more commonly referred to as the Red, Green, Refactor approach.

### You MUST automate tests

Expand Down

0 comments on commit 8f923f3

Please sign in to comment.