Content deleted Content added
Tags: Reverted Mobile edit Mobile web edit |
m Reverted edits by 157.45.50.1 (talk): editing tests (HG) (3.4.12) |
||
Line 34:
:Inelegant code and [[hard coding]] is acceptable. The code will be honed in Step 6. No code should be added beyond the tested functionality.
;5. All tests should now pass
:If any fail, fix failing tests with minimal
;6. Refactor as needed while ensuring all tests continue to pass
:Code is [[Code refactoring|refactored]] for [[Code readability|readability]] and maintainability. In particular, hard-coded test data should be removed from the production code. Running the test suite after each refactor ensures that no existing functionality is broken. Examples of refactoring:
|