Which task is performed because the test-driven development approach is being used?

Which task is performed because the test-driven development approach is being used?
A. creating test scenarios based on continuous development
B. writing code without committing any coding violations
C. refactoring code that is covered by existing tests
D. testing existing software before developing new code

How To Pass 200-901 Exam?

Cisco 200-901 PDF dumps.

High quality 200-901 PDF and software. VALID exam to help you pass.

cisco-exams

3 thoughts on “Which task is performed because the test-driven development approach is being used?

  1. Correct Answer is C

    This is the principle of Test-Driven Development (sometimes called Test-First Development). The basic pattern of TDD is a five-step, repeating process:

    Create a new test (adding it to existing tests, if they already exist): The idea here is to capture some requirement of the (perhaps not-yet-created) unit of application code we want to produce.
    Run tests to see if any fail for unexpected reasons: If this happens, correct the tests. Note that expected failures, here, are acceptable (for example, if our new test fails because the function it’s designed to test doesn’t yet exist, that’s an acceptable failure at this point).
    Write application code to pass the new test: The rule here is to add nothing more to the application besides what is required to pass the test.
    Run tests to see if any fail: If they do, correct the application code and try again.
    Refactor and improve application code: Each time you do, re-run the tests and correcting application code if you encounter any failures.

    10
    1

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.