File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,16 @@ We do this to encourage you to follow this workflow:
49
49
1 . Before adding any new code, run the test suite: you should see a failing test.
50
50
1 . Add _ just enough_ code to pass the test.
51
51
1 . Run the test suite.
52
- If the test still fails, repeat the last step.
53
- 1 . Review your code and refactor as desired, making sure the tests still pass.
54
- 1 . Once you have passed all the tests, congratulations you're done!
55
- 1 . Otherwise, "unskip" the next test and goto 1.
52
+ 1 . If the test still fails, repeat step 2.
53
+ 1 . Once the test passes, refactor your code as desired, ensuring all the activated tests still pass.
54
+ Refactoring might include:
55
+ - removing any duplicated code,
56
+ - spliting long functions into smaller ones
57
+ - adding comments, etc.
58
+ 1 . "Unskip" the next test and repeat from step 1.
59
+
60
+ Repeat these steps until you have unskipped all the tests.
61
+ Once all the tests are passing, congratulations, you have solved the exercise!
56
62
57
63
Exactly how tests are "unskipped" (or activated) depends on the track.
58
64
For some tracks, it might be commenting or removing an annotation.
You can’t perform that action at this time.
0 commit comments