Question 1
Which two concepts describe test-driven development? (Choose two.)
- User acceptance testers develop the test requirements.
- It enables code refactoring.
- Tests are created when code is ready for release.
- Implementation is driven by incremental testing of release candidates.
- Write a test before writing code.
Question 2
Which task is performed because the test-driven development approach is being used?
- creating test scenarios based on continuous development
- writing code without committing any coding violations
- refactoring code that is covered by existing tests
- testing existing software before developing new code
Question 3
What is the first development task in test-driven development?
- Write code that implements a desired function.
- Write a failing test case for a desired function.
- Reverse engineer the code for a desired function.
- Write a passing test case for existing code.
Question 4
In test-driven development, what are two of the green bar patterns? (Choose two.)
- another test
- break
- triangulate
- starter test
- fake it
Question 5
In the test-driven development model, what is changed after a test fails?
- schedule
- project requirements
- code
- test