Basics
-
Fail(Red)->Pass(Green) ->Refactor
- New Test would fail
- Write minimum code to pass
- Perform refactor and check again
- Test cases should be written for Single Logic and should test business logic
-
@Test
Basics
Fail(Red)->Pass(Green) ->Refactor
@Test