Fichas
Test Driven Development
Fichas del conjunto (9)
- 1What is the first step in test driven development?Identifying the functionality required. It should be small.
- 2What is the second step in tdd?Write an automated test for this functionality
- 3What is the third step of tdd?Run the test, along with all others. The test will initially fail. Implement the new functionality and run again. Do not add new functionality until it passes.
- 4What are the benefits of tdd?Code coverage
Regression Testing
Simplified debugging
System documentation - 5Explain code coverageEvery segment of code has been tested at least once
- 6Explain regression testingA regression test suite is developed incrementally as a program develops. Regression testing is checking that newly implemented code has not broken previously working code.
- 7Explain simplified debuggingWhen a program fails, it should be obvious where the problem lies... in the newly implemented code
- 8Explain system documentationThe tests themselves are a form of documentation. They describe what the code should be doing.
- 9Is regression testing cheap?In a normal testing process, regression testing is expensive, however, if it is automated, it is simple and straightforward.
Información
- Descripción
- Third level Applied Software Development Principles (Flashcards) Fichas sobre Test Driven Development, creado por Kerrie Callaghan el 09/05/2017.
- Creado por
- Kerrie Callaghan
- Visitas
- 0
- Valoración