SWE Final
When would you use and what is regression testing?
Regression testing is testing the system to check that changes have not 'broken' previously working code. You would use it after changing code.
When is it advisable to perform stress testing?
When there could be a large spike in traffic
Describe and distinguish white-box testing, black-box testing and grey-box testing?
White-box the tester knows what is in the code, black-box the tester doesn't know what's in the code, grey-box the tester knows some of what's in the code
Describe a method of unit testing and when it is most appropriate?
Black-box testing is good for testing user input and program output
How do you perform integration testing?
By combing unit tested modules one by one and testing the combined module
What are the 6 stages of acceptance testing?
Define acceptance criteria, plan acceptance testing, derive acceptance tests, run acceptance tests, negotiate test results, accept or reject system
What are the steps of Test-Driven Development?
Identify new functionality, write test, run test, implement functionality and refactor
When would you use and what is integration testing?
It is done right after unit testing to ensure that the units work well together. It is where units are combined and tested as a group.
What are the key characteristics of system testing?
Performance, Security, Recovery
What is error seeding and what does it measure? What assumption must be made?
The process of deliberately introducing errors within a program to check whether the test cases are able to capture the seeded errors. The methodology relies on the assumption that if we insert a known and controlled number of seeded errors and measure the proportion of them discovered by the test process, that proportion could be used to predict the number of real (non-seeded) er- rors yet to be discovered..