Question 1 · 530 in bank
Select 2Which two concepts describe test-driven development? (Choose two.)
Show answer
Answer: BE
Explanation
Need two answers here. E. Write a test before writing code. >> This one is obviously correct for test driven development (TDD). B. It enables code refactoring. >> As Leonhrz pointed out, refactoring can be done without TDD so it does not "enable" it - however it does make it much easier to refactor code since your test will prove if your refactor is successful. Elimination: A. User acceptance testers develop the test requirements. >> This is actually Acceptance Test Driven Development (ATDD). C. Tests are created when code is ready for release. >> This is the complete opposite of TDD. D. Implementation is driven by incremental testing of release candidates. >> This almost sounds correct, but it implies the testing is only for release candidates. https://www.tutorialspoint.com/software_testing_dictionary/release_candidate.htm
Source: Adapted from community discussion — psyborg





