Page 1 of 1

software engineering - test driven development steps options: write the bare minimum of code to make the test pass run a

Posted: Mon Jun 06, 2022 1:38 pm
by answerhappygod
software engineering - test driven development steps
options:
write the bare minimum of code to make the test pass
run all currently written tests
run all currently written tests
occasionally refactor code to reduce duplication or eliminate no
longer used parts of the code.
write a test
1. ?
2. ?
1. if the tests all pass, return to step 1
2. if a test fails, proceed to step 3
3. ?
4. ?
1. if tests all pass, return to step 1
2. if the failing test is still failing, return to
step 3
5. ?
6. eventually stop development after adding "enough" tests
without triggering a new failure