Part 1: W02 Software Quality Assurance Flashcards
What can be the quality measure of a defect based model?
Number of defects.
Define “Fault/Defect” in Software Testing.
Manifestation of error in software.
Define “Error” in Software Testing.
User mistake.
Define “Failure” in Software Testing.
Software artifact not executing required action.
What are the failure classes?
- Money cost
- downtime/loss of data
- harmful to environment
- loss of life
Define “Operational Profile” in Software Testing.
Quantitative representation of how system will be used.
How is Operational Profile made?
Documenting user inputs and their occurrence probabilities.
Why is Operational Profile useful?
Used to proportionally distribute test cases and overall test time.
What are the levels in the Operational Profile Triangle?
- Customer Profile
- User Profile
- System-mode Profile
- Function Profile
- Operations Profile
- Test Selection
Define “Customer” in Operational Profile with examples.
Entity that uses results of software.
Ie. large retail stores, grocery chains.
Define “User” in Operational Profile with examples.
Entity that uses software. Ie. marketing analysts, DB administrators.
Define “System mode” in Operational Profile with examples.
Set of functions grouped for one executable. Ie. report generation, database cleanup.
Define “Function” in Operational Profile with examples.
Set of operations grouped for one system mode.
Ie. Sales reports in Report Generation.
Define “Operation” in Operational Profile with examples.
System task as viewed by user.
What is the formula for threshold occurrence probability?
threshold occurrence probability = 0.5 / # of tests
How do you allocate tests based on operational profile?
- assign >=1 test case to each test with lower probability than threshold occurrence probability
- assign 2-4 test cases to rare CRITICAL new operations
- Use allocation probability for remaining tests
What are the 3 testing levels?
Functional
Structural
Regression
What is Functional level testing?
Testing as if system is black box.
What is Structural level testing?
Testing as if system is white box. (Testing logic)
What is Regression level testing?
Testing to catch defects across new versions.
What type of testing stages are there?
- Unit testing
- Integration testing
- System testing
- User/Acceptance testing
Define “Unit testing”.
Testing individual components.
Define “Integration testing”.
Testing combinations of components.
Define “System testing”.
Testing complete system.