Professional Documents
Culture Documents
Unit
output
Error Guessing
Example sorting array function
Error model:
empty array
already sorted array
reverse-sorted array
large unsorted array
...
Generate test cases for these situations
Error Guessing
Adhoc approach based on experience
Approach:
1. Make list of possible errors or error-prone
situations error model
2. Design test-cases
to cover error model
Develop and maintain your own error models
Day
Visitors
status
Entry
hour
Ot
Ot
Mem Mem
Sat., Sun.
Ot
Ot
Mem Mem
$5
$6
$2.50
$3
$7.50
$9
$3.50
$4
Age 16.0160.00
$10
$17
$5
$6
$15
$18
$7
$8
Age: 60.01120.00
$8
$8
$4
$4
$12
Usability
Valid ECs
Mon.
Ot
7.55
8.4
Sat.
Mem
20.44
42.7
$8
Sat.
Mem
22.44
65.0
$5.50
Sat.
Mem
6.00
0.0
$3.50
Sat.
Mem
19.00
16.0
$3.50
Sat.
Mem
19.01
16.01
Sat.
Mem
19.01
60.0
$8
Sat.
Mem
24.00
60.01
$5.50
Integrity
Test
case
type
Invalid ECs
Quality requirements
factor
Correctness
Efficiency
Age: 0.0016.00
Reliability
Test class
1. Documentation tests
2. Availability (reaction
time) tests
Reliability tests
Stress tests (load and
durability tests)
Software system security
tests
1. Training usability tests
2. Operational Usability
tests
$5
$8
Sat.
Mem
24.00
120.0
10
Mox.
Ot
7.55
8.4
Invalid day
11
Mon.
88
7.55
8.4
$5.50
12
Mon.
Ot
4.40
8.4
13
Mon.
Ot
8@
8.4
14
Mon.
Ot
7.55
TTR
15
Mon.
Ot
7.55
150.1
Completeness check
Correctness tests
Document style and editing inspection
Reliability Tests
Deals with features that can be translated
as events occurring over time.
e.g average time for recovery after
system failure (15 minutes).
- average downtime per month ( 30
minutes per month)
Constraint for reliability test is the scope of
resources required.
Maintainability tests
Flexibility tests
Testability tests