Test-Driven Development
Test-Driven Development (TDD) is a major XP practice where developers write tests before producing code. The developer first creates an initially failing automated test case that defines a desired functionality, then produces the smallest amount of code to pass that test, and finally refactors the …
PMI-ACP - Test-Driven Development Example Questions
Test your knowledge of Test-Driven Development
Question 1
A QA engineer complains that they don't have enough test cases to verify all the functionalities of the code. What do you advise?
Question 2
A developer is struggling to find a balance between writing tests and writing code. Which approach should they adopt?
Question 3
In a sprint planning meeting, the team is evaluating the level of testing effort needed. How should they approach testing within the scope of TDD?