← All CAD Flashcard Decks

CAD Test-Driven Development and Agile Testing Flashcards

6 cards from real CAD practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 6 CAD Test-Driven Development and Agile Testing flashcards as text
  1. In Test-Driven Development (TDD), what is the correct order of the development cycle?

    Answer: Write test, write code, refactor

    TDD follows the Red-Green-Refactor cycle: write a failing test first, then write just enough code to pass it, then refactor.

  2. What does a 'red' phase in TDD indicate?

    Answer: A newly written test is failing because the feature doesn't exist yet

    In TDD, 'red' means the test was just written and fails because the production code implementing that behavior has not yet been created.

  3. Which type of test validates interactions between multiple integrated components in an Agile project?

    Answer: Integration test

    Integration tests verify that multiple components or services work correctly together, catching interface and contract issues between units.

  4. What is the primary goal of Acceptance Test-Driven Development (ATDD)?

    Answer: To define acceptance criteria as executable tests before development begins

    ATDD involves the whole team — developers, testers, and business stakeholders — collaboratively writing acceptance tests before coding starts to clarify requirements.

  5. In Agile, what is 'exploratory testing'?

    Answer: Simultaneously designing and executing tests based on tester intuition and learning

    Exploratory testing is a simultaneous learning, test design, and execution approach where the tester adapts their strategy based on findings during the session.

  6. Which Agile testing quadrant focuses on technology-facing tests that support the team, such as unit and component tests?

    Answer: Quadrant 1

    Agile Testing Quadrant 1 (Q1) contains technology-facing tests that support the development team, including unit tests and component tests typically automated by developers.