Select the accurate description of Test-driven development (TDD).
Difficulty: Hard
About this MCQ
This Hard Software Testing & SDLC MCQ checks one syllabus fact.
The question is: “Select the accurate description of Test-driven development (TDD).”
The accepted answer is B. A development approach where tests are written before the actual code is implemented.. Test-driven development (TDD) refers to a development approach where tests are written before the actual code is implemented.
- A. Testing performed after code changes to ensure existing functionality still works correctly.
Why not A: “Testing performed after code changes to ensure existing functionality still works correctly.” is not correct. The accepted answer is B. A development approach where tests are written before the actual code is implemented.. Test-driven development (TDD) refers to a development approach where tests are written before the actual code is implemented.
- B. A development approach where tests are written before the actual code is implemented. ✓
- C. Internal testing performed by an organization's own staff before releasing software to external users.
Why not C: “Internal testing performed by an organization's own staff before releasing software to external users.” is not correct. The accepted answer is B. A development approach where tests are written before the actual code is implemented.. Test-driven development (TDD) refers to a development approach where tests are written before the actual code is implemented.
- D. A testing phase that verifies the interaction between combined modules or components of a system.
Why not D: “A testing phase that verifies the interaction between combined modules or components of a system.” is not correct. The accepted answer is B. A development approach where tests are written before the actual code is implemented.. Test-driven development (TDD) refers to a development approach where tests are written before the actual code is implemented.
Correct answer
B. A development approach where tests are written before the actual code is implemented.
Explanation
Test-driven development (TDD) refers to a development approach where tests are written before the actual code is implemented.
Source: Software Testing & SDLC Official Reference Guide
Tags: computer science, sdlc, software testing, QA
Submitted by: MCQsHub Editorial
Related MCQs
- Which term refers to a testing method that verifies the smallest testable parts of an application, such as ind...
- What does Unit testing refer to?
- What is the name for a testing phase that verifies the interaction between combined modules or components of a...
- Which of the following best describes Integration testing?
- Identify the correct concept described as: a testing phase that evaluates a fully integrated system against sp...
- System testing is best defined as which of the following?