Académique Documents
Professionnel Documents
Culture Documents
LonsdaleSystems.com
LonsdaleSystems.com
Phil Robinson
Lonsdale Systems
LonsdaleSystems.com
Term System test Integration test Test plan Test case Acceptance test Unit test
Count 0 1 2 4 8 10
LonsdaleSystems.com
Phil Robinson
Lonsdale Systems
LonsdaleSystems.com
Views of Quality
Excellence Value view
Product view
Measurable aspect of the product
Users view
Manufacturers view
LonsdaleSystems.com
Phil Robinson
Lonsdale Systems
Product
Ga p
p Ga
Need
LonsdaleSystems.com
Spec
Gap
7
Product
ym en
Co ns
tru c
tio
ep
lo
Need
LonsdaleSystems.com
Requirements
De s
ign
io at er Op n
Spec
8
Phil Robinson
Lonsdale Systems
lo ym en
tru c
tio
ep
Requirements
LonsdaleSystems.com
De s
ign
Acceptance testing
io at er Op n
Product
Te n sti
gr io eg
Need
LonsdaleSystems.com
Spec
10
Phil Robinson
Lonsdale Systems
rif Ve ica
Va li d
at ion
n tio
Need
LonsdaleSystems.com
Validation
Spec
11
Va li d
at ion
Acceptance testing
Product
t uc on od ti Pr egra t In
c Te
lS i ca t olu i on
Need
LonsdaleSystems.com
Spec
12
Phil Robinson
Lonsdale Systems
Need
LonsdaleSystems.com
gr io eg n
Spec
13
CMMI
Covers the entire triangle Encourages a variety of verification and validation techniques Closes the Specification-Product gap and the Need-Specification gap
LonsdaleSystems.com
14
Phil Robinson
Lonsdale Systems
LonsdaleSystems.com
15
Test Planning
LonsdaleSystems.com
16
Phil Robinson
Lonsdale Systems
testing:
LonsdaleSystems.com
17
a set of inputs, execution preconditions, and expected outcomes developed for a particular objective, such as
to exercise a particular program path or to verify compliance with a specific requirement.
test case:
LonsdaleSystems.com
18
Phil Robinson
Lonsdale Systems
coverage:
the degree, expressed as a percentage, to which a specified coverage item has been exercised by a test case suite. an entity or property used as a basis for testing
coverage item:
LonsdaleSystems.com
19
Error Detection
100% coverage of paths is required to detect all errors This is usually impossible Always a risk that software contains errors Error detection is a risk management activity The Risk Management process area provides guidance
20
LonsdaleSystems.com
Phil Robinson
Lonsdale Systems
LonsdaleSystems.com
21
SG 3 Mitigate risks
SP 3.1 Develop risk mitigation plan SP 3.2 Implement risk mitigation plan
LonsdaleSystems.com
22
Phil Robinson
Lonsdale Systems
LonsdaleSystems.com
23
Product
Structure
Sub-systems Components Interfaces
Process
Requirements development (RD) Technical solution (TS) Product integration (PI)
Characteristics
Size Complexity Criticality
Project
Resources Constraints
Quality criteria
ISO 9126
Lessons learnt
Bug taxonomies SEI taxonomy of risks
24
LonsdaleSystems.com
Phil Robinson
Lonsdale Systems
Functionality
Reliability
Usability
Efficiency
Maintainability
Portability
LonsdaleSystems.com
25
Bug Taxonomy
LonsdaleSystems.com
26
Phil Robinson
Lonsdale Systems
Severity
Priority
Likelihood
LonsdaleSystems.com
27
Severity
Weight 1 2 3 4 5 Description Loss of data Loss of functionality Loss of functionality with workaround Partial loss of functionality Cosmetic error
LonsdaleSystems.com
28
Phil Robinson
Lonsdale Systems
Priority
Weight 1 2 3 4 5 Description Urgent Essential Valuable Desirable Discretionary
LonsdaleSystems.com
29
Likelihood
Weight 1 2 3 4 5 Description Very likely Likely Possible Unlikely Very unlikely
LonsdaleSystems.com
30
Phil Robinson
Lonsdale Systems
priority
likelihood
125
trivially unimportant
1
critically dangerous
LonsdaleSystems.com
31
Risk Analysis Failure Mode Effect and Analysis (FMEA) Risk Mitigation Testing
Prototyping Stakeholder discussion
Interviews Workshops
Reviews
Peer Formal
Defect prevention
LonsdaleSystems.com
32
Phil Robinson
Lonsdale Systems
LonsdaleSystems.com
33
LonsdaleSystems.com
34
Phil Robinson
Lonsdale Systems
LonsdaleSystems.com
35
Product
ISO 9126
LonsdaleSystems.com
36
Phil Robinson
Lonsdale Systems
Quality Criteria (ISO 9126) Failure Mode and Effect Functionality Receive mail fails Send mail fails Folder corruption Unable to look up email address Address book corruption Incorrect formatting of HTML mail Attachements not received Unable to open attachements Reliability Usability Efficency Maintainability Portability
LonsdaleSystems.com
37
Risk assessment
SP 2.2 Evaluate, categorise and prioritise risks
Likelihood 1 1 2 3 3 4 1 2 4 4 4 2 2 3 3 3 Severity Risk Priority Number 8 8 8 18 6 48 6 12 Priority 2 2 1 3 1 4 2 2 Quality Criteria (ISO 9126) Failure Mode and Effect Functionality Receive mail fails Send mail fails Folder corruption Unable to look up email address Address book corruption Incorrect formatting of HTML mail Attachements not received Unable to open attachements Reliability Usability Efficency Maintainability Portability
LonsdaleSystems.com
38
Phil Robinson
Lonsdale Systems
LonsdaleSystems.com
39
Folder corruption
4 2
4 1
Mitigation Strategy 8 Test with a variety of mai protocolsand firewalls. Test cases should cover all protocol boundary conditions. 8 Test with a variety of mai protocolsand firewalls. Test cases should cover all protocol boundary conditions. 8 Attempt to induce folder corruption. Test recovery from folder corruption. Test folder backup and restore. 18 Test with a limited range of typical email addresses. More extensive testing if time permits. 6 Attempt to induce address book corruption. Test recovery from address book corruption. Test address book export and import. 48 Test with single sample of typical HTML. More extensive testing if time permits. 6 Test with all supported attachements. Test with attachement boundary conditions (empty, large, etc.) 12 Test with typical attachements.
LonsdaleSystems.com
40
Phil Robinson
Lonsdale Systems
Test execution
SP 3.2 Implement risk mitigation plan
LonsdaleSystems.com
41
the processing of a test case suite by the software under test, producing an outcome.
test execution:
LonsdaleSystems.com
42
Phil Robinson
Lonsdale Systems
outcome:
fault:
failure:
LonsdaleSystems.com
44
Phil Robinson
Lonsdale Systems
LonsdaleSystems.com
45
Bug Taxonomy
SP 1.1 Select data for analysis SP 1.2 Analyse causes
LonsdaleSystems.com
46
Phil Robinson
Lonsdale Systems
Bug Taxonomy
SP 1.1 Select data for analysis SP 1.2 Analyse causes
LonsdaleSystems.com
47
Defect Prevention
SG 2 Address causes of defects
Another time
LonsdaleSystems.com
48
Phil Robinson
Lonsdale Systems
LonsdaleSystems.com
49
References
CMMI
http://www.sei.cmu.edu/cmmi/
ISO 9126
http://www.iso.org http://en.wikipedia.org/wiki/ISO_9126
LonsdaleSystems.com
50
Phil Robinson
Lonsdale Systems
References
Bug Taxonomy
http://inet.uni2.dk/~vinter/bugtaxst.doc
FMEA
Rex Black, Critical Testing Process: Plan, Prepare, Perform Perfect, Addison Wesley, 2004 http://en.wikipedia.org/wiki/FMEA
LonsdaleSystems.com
51
Notes:
LonsdaleSystems.com
52
Phil Robinson
Lonsdale Systems