First Law of TDD
The concept of 'First Law of TDD' suggests that you cannot write production code without first writing a failing test. In simple words, it means that the test should be written before any code. This serves as a blueprint and guides the development of the feature. Additionally, it ensures that the f…
PMI-ACP - First Law of TDD Example Questions
Test your knowledge of First Law of TDD
Question 1
You encountered a scenario in your project where the function does not meet the requirements. According to the First Law of TDD, how should you approach the situation?
Question 2
In an agile team, your project leader encourages best practices and wants to make sure TDD First Law is understood and being applied. Which scenario demonstrates the correct application of TDD First Law?
Question 3
Your team made a group decision to follow TDD's paradigms. It's your first agile project and you aren't aware of the order of the development process. What is the correct order according to TDD's First Law?