Valid 200-901 Dumps shared by ExamDiscuss.com for Helping Passing 200-901 Exam! ExamDiscuss.com now offer the newest 200-901 exam dumps, the ExamDiscuss.com 200-901 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 200-901 dumps with Test Engine here:
What is the purpose of running tests before writing code in test-driven development?
Correct Answer: B
In Test-Driven Development (TDD), the process starts with writing tests before writing the actual code. The primary purpose of running tests before writing the code is to ensure that the tests fail initially. This failure demonstrates that the tests are correctly identifying the absence of the desired functionality or the presence of bugs. Once the tests are verified to fail for the expected reasons, the developer then writes the minimal code necessary to pass the tests, ensuring that the new functionality works as intended and that the codebase is continuously tested. References: * Test-Driven Development by Example * Cisco DevNet Associate Certification Guide