Prepare for the Certified Scrum Master Test. Use flashcards and multiple choice questions with hints and explanations. Ace your exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What does Test Driven Development (TDD) emphasize?

  1. Writing extensive documentation before coding

  2. Creating tests before writing the code

  3. Conducting user feedback sessions

  4. Adopting agile project management techniques

The correct answer is: Creating tests before writing the code

Test Driven Development (TDD) emphasizes the practice of creating tests before writing the actual code. This approach ensures that the software being developed meets its requirements from the very beginning. By writing tests first, developers clarify the expected behavior of the code and create a clear specification of what the code should accomplish. This leads to fewer bugs and facilitates easier refactoring since the tests serve as a safety net that ensures the code still meets its original requirements after changes are made. This practice aligns closely with agile methodologies, as it fosters an iterative development process where feedback is constant and improvements can be made quickly based on test results. The focus is on building quality software from the outset by ensuring that every piece of code added is driven by a set of predefined tests, thereby increasing maintainability and reducing the risk of defects in the final product.