1 test10b Software Testing Necessary to measure and certify quality in software.

15
1 test10b Software Testing Necessary to measure and certify quality in software

description

3 test10b Terminology (IEEE Glossary) u Failure –external behavior is incorrect u Fault –discrepancy in code that causes a failure u Error –1. Human mistake that caused fault –2. All of above

Transcript of 1 test10b Software Testing Necessary to measure and certify quality in software.

Page 1: 1 test10b Software Testing Necessary to measure and certify quality in software.

1test10b

Software Testing

Necessary to measure and certify quality in software

Page 2: 1 test10b Software Testing Necessary to measure and certify quality in software.

2test10b

Why Software Testing?

Shows actual behavior of software– proofs are based on abstraction– proofs may have errors

May use 20% of total development effort– important to make good use of effort– testers often don’t make good selection of tests

Can not do exhaustive testing

Page 3: 1 test10b Software Testing Necessary to measure and certify quality in software.

3test10b

Terminology (IEEE Glossary)

Failure – external behavior is incorrect

Fault– discrepancy in code that causes a failure

Error – 1. Human mistake that caused fault– 2. All of above

Page 4: 1 test10b Software Testing Necessary to measure and certify quality in software.

4test10b

Fault, Failure, or Error?

A. returns wrong value B. forgot a special case C. If (a = b) in C++

Page 5: 1 test10b Software Testing Necessary to measure and certify quality in software.

5test10b

Test Phase Matching Component Integration System Acceptance

Performance of whole system

Interfaces User Modules

Page 6: 1 test10b Software Testing Necessary to measure and certify quality in software.

6test10b

Test Plans

Specified during requirement phase Based on requirements

– Black Box Testing

Page 7: 1 test10b Software Testing Necessary to measure and certify quality in software.

7test10b

Class Discussion

What are the advantages of test plans written right after the requirements are available?

Page 8: 1 test10b Software Testing Necessary to measure and certify quality in software.

8test10b

IEEE Standard for Software Test Documentation

IEEE Std 829-1983

Page 9: 1 test10b Software Testing Necessary to measure and certify quality in software.
Page 10: 1 test10b Software Testing Necessary to measure and certify quality in software.
Page 11: 1 test10b Software Testing Necessary to measure and certify quality in software.

11test10b

partial contents of aTest Plan (IEEE Standard)

identifier introduction test items (what is to

be tested) features

– to be tested– not to be tested

methodology

pass/fail criteria suspension criteria deliverables responsibilities schedule contingency plans approvals

Page 12: 1 test10b Software Testing Necessary to measure and certify quality in software.

12test10b

Other test documents

test-case specification– inputs, outputs, procedures

test-procedure specification test log test-incident report test-summary report

Page 13: 1 test10b Software Testing Necessary to measure and certify quality in software.

13test10b

L10bS11 - Individual Task

Write a test plan for B&B software– Any section that you feel is not applicable,

write n/a

15 pts, due Tuesday, 9am (on and off)

Page 14: 1 test10b Software Testing Necessary to measure and certify quality in software.

Questions

Page 15: 1 test10b Software Testing Necessary to measure and certify quality in software.

Questions