[+] Show answers
Who is the author of the book 'Test-Driven Development: By Example'?
What is the main development approach described in the book?
What is the first step in test-driven development according to the book?Write a failed testWrite the codeRefactor the codeRepeat the process
What is the purpose of refactoring in the TDD cycle?To improve the design of the codeTo add new featuresTo fix the bugsTo test the code
According to the book, should a test cover only one single concern?
What happens when a test fails in TDD?You fix the code until the test passesYou move to the next featureYou ignore the failureYou change the test
What are the main components of a good unit test in TDD?Isolation from dependenciesCovering a single functionalityFast executionTesting multiple functionalitiesBeing dependent on external servicesSlow execution
What concept introduced by Kent Beck refers to making the simplest change that will allow the new test to pass?
What does the acronym TDD stand for?
According to Kent Beck, when should you stop coding?The tests pass and the algorithm is clearWhen you have coded for a few hours without breakWhen you have 100% code coverageWhen the client approves the functionality