Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 17
Which two concepts describe test-driven development? (Choose two.)
Answer options
- A. User acceptance testers develop the test requirements.
- B. It enables code refactoring.
- C. Tests are created when code is ready for release.
- D. Implementation is driven by incremental testing of release candidates.
- E. Write a test before writing code.
Correct answer: B, E
Explanation
The correct answers, B and E, reflect the essence of test-driven development, where refactoring is a key aspect and tests are written before any coding begins. Options A, C, and D do not accurately describe the principles of test-driven development, as they focus on testing after coding or do not emphasize test creation prior to writing code.