Which two concepts describe test-driven development? (Choose two.)
A.
It enables code refactoring.
B.
Write a test before writing code.
C.
Implementation is driven by incremental testing of release candidates.
D.
User acceptance testers development the test requirements.
E.
Tests are created when code is ready for release.
The Answer Is:
A, B
This question includes an explanation.
Explanation:
Test-Driven Development (TDD) is a software development approach where tests are written before the actual code. The process follows these steps:
Write a test before writing code (B): Developers write tests for a new function or feature before implementing it. This ensures that the tests define what the code is supposed to do.
Enable code refactoring (A): Because tests are written first, TDD supports continuous refactoring of the code. Developers can confidently improve and clean up code, knowing that existing functionality is verified by the tests.
[Reference: Cisco DevNet TDD Overview, , , , ]
200-901 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"