SUT: System under Test
DOC: depended on component
Phases of a Unit Test:
arrange, act, assert
TDD Rhythm
#1 Write a test that fails(Red)
#2 Make the code work( Green)
#3 Eliminate redundancy(Refactor)
rule: Never write code without a failing test!
DOC: depended on component
Phases of a Unit Test:
arrange, act, assert
TDD Rhythm
#1 Write a test that fails(Red)
#2 Make the code work( Green)
#3 Eliminate redundancy(Refactor)
rule: Never write code without a failing test!
Comments
Post a Comment