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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply