4452 - Testing Final Flashcards
What does statistical testing reflect and what does it measure?
reflects: frequency of user inputs
measures: system reliability
What does defect testing discover?
system defects
What are the 4 testing stages?
- unit testing
- integration testing
- system testing
- user/acceptance testing
What is unit testing?
the testing of individual components
What is integration testing?
the testing of interactions between components
What is system testing?
testing the complete system prior to delivery
What is acceptance testing?
testing done by end users to ensure that the system delivers on business and user needs
What is black box testing?
Its where something is inputted to the system and then the output is compared to the expected output
What is white box testing?
Its where the input is selected with explicit knowledge of the internal workings of the system
What types of testing are included in the white box test suite?
- edge (decision) testing
- path testing
- statement testing
- condition testing
What is regression testing? What does it ensure?
- Regression testing is used to make sure that a defect fix, added functionality, really any changes to the code does not change functionalities or behaviors that should not be affected
- ensures that modified code has not broken the code it modified
What are the two broad techniques used during unit testing?
functional testing and structural testing
What are the two types of structural testing methods? What is the difference between them?
Control flow testing, data flow testing
- one is based on control flow graphs the other is based on data flow graphs
What does integration testing attempt to construct?
the system architecture
Integration testing wants to uncover defects associated with what?
interfaces
When is integration testing complete?
- when all modules are fully integrated together
- when all the test cases have been executed
- when all the severe and moderate defects have been found and fixed
What does system testing check the system against?
the quality requirements
A system must be constructed in a ________ for system testing to be performed
an emulated environment that is as close to the real production environment as possible
Where is acceptance testing performed and who performs it?
in the production environment by the end users
what is the key difference between testing and debugging?
testing confirms the presence of defects, debugging actually locates and fixes them
What are the activities in testing?
IDBEC:
- identify
- design
- build
- execute
- compare
What is “built” during the build activity in testing?
test cases
What are the activities in debugging?
LDRRe
- locate
- design
- repair
- re-test
What is a test condition?
it is the goal of a test case, it is something you want to verify