SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Test Management
Software Testing
1 Principles 2 Lifecycle
4 Dynamic test
techniques
3 Static testing
5 Management 6 Tools
Contents
Organisation
Configuration Management
Test estimation, monitoring and control
Incident management
Standards for testing
ISEB Foundation Certificate Course
Test Management
1 2
4 5
3
6
3
Importance of Independence
Time
No. faults
Release to
End Users
4
Organisational structures for testing
Developer responsibility (only)
Development team responsibility (buddy
system)
Tester(s) on the development team
Dedicated team of testers (not developers)
Internal test consultants (advice, review,
support, not perform the testing)
Outside organisation (3rd party testers)
5
Testing by developers
Pro’s:
- know the code bestknow the code best
- will find problems that the testers will misswill find problems that the testers will miss
- they can find and fix faults cheaplythey can find and fix faults cheaply
Con’s
- difficult to destroy own workdifficult to destroy own work
- tendency to 'see' expected results, not actual resultstendency to 'see' expected results, not actual results
- subjective assessmentsubjective assessment
6
Testing by development team (buddy)
Pro’s:
- some independencesome independence
- technical depthtechnical depth
- on friendly terms with “buddy” - less threateningon friendly terms with “buddy” - less threatening
Con’s
- pressure of own development workpressure of own development work
- technical view, not business viewtechnical view, not business view
- lack of testing skilllack of testing skill
7
Tester on development team
Pro’s:
- independent view of the softwareindependent view of the software
- dedicated to testing, no development responsibilitydedicated to testing, no development responsibility
- part of the team, working to same goal: qualitypart of the team, working to same goal: quality
Con’s
- lack of respectlack of respect
- lonely, thankless tasklonely, thankless task
- corruptible (peer pressure)corruptible (peer pressure)
- a single view / opiniona single view / opinion
8
Independent test team
Pro’s:
- dedicated team just to do testingdedicated team just to do testing
- specialist testing expertisespecialist testing expertise
- testing is more objective & more consistenttesting is more objective & more consistent
Con’s
- ““over the wall” syndromeover the wall” syndrome
- may be antagonistic / confrontationalmay be antagonistic / confrontational
- over-reliance on testers, insufficient testing byover-reliance on testers, insufficient testing by
developersdevelopers
9
Internal test consultants
Pro’s:
- highly specialist testing expertise, providing supporthighly specialist testing expertise, providing support
and help to improve testing done by alland help to improve testing done by all
- better planning, estimation & control from a broadbetter planning, estimation & control from a broad
view of testing in the organisationview of testing in the organisation
Con’s
- someone still has to do the testingsomeone still has to do the testing
- level of expertise enough?level of expertise enough?
- needs good “people” skills - communicationneeds good “people” skills - communication
- influence, not authorityinfluence, not authority
10
Outside organisation (3rd party)
Pro’s:
- highly specialist testing expertise (if outsourced to ahighly specialist testing expertise (if outsourced to a
good organisation)good organisation)
- independent of internal politicsindependent of internal politics
Con’s
- lack of company and product knowledgelack of company and product knowledge
- expertise gained goes outside the companyexpertise gained goes outside the company
- expensive?expensive?
11
Usual choices
Component testing:
- done by programmers (or buddy)done by programmers (or buddy)
Integration testing in the small:
- poorly defined activitypoorly defined activity
System testing:
- often done by independent test teamoften done by independent test team
Acceptance testing:
- done by users (with technical help)done by users (with technical help)
- demonstration for confidencedemonstration for confidence
12
Resourcing issues
independence is important
- not a replacement for familiaritynot a replacement for familiarity
different levels of independence
- pro's and con's at all levelspro's and con's at all levels
test techniques offer another dimension to
independence (independence of thought)
test strategy should use a good mix
- "declaration of independence”"declaration of independence”
balance of skills needed
13
Skills needed in testing
Technique specialists
Automators
Database experts
Business skills & understanding
Usability expert
Test environment expert
Test managers
Contents
Organisation
Configuration Management
Test estimation, monitoring and control
Incident management
Standards for testing
Test Management
1 2
4 5
3
6
15
Problems resulting from poor
configuration management
can’t reproduce a fault reported by a customer
can’t roll back to previous subsystem
one change overwrites another
emergency fault fix needs testing but tests
have been updated to new software version
which code changes belong to which version?
faults which were fixed re-appear
tests worked perfectly - on old version
“Shouldn’t that feature be in this version?”
16
A definition of Configuration
Management
“The process of identifying and defining the
configuration items in a system,
controlling the release and change of these
items throughout the system life cycle,
recording and reporting the status of
configuration items and change requests,
and verifying the completeness and
correctness of configuration items.”
- ANSI/IEEE Std 729-1983, Software EngineeringANSI/IEEE Std 729-1983, Software Engineering
TerminologyTerminology
17
Configuration Management
An engineering management procedure that
includes
- configuration identificationconfiguration identification
- configuration controlconfiguration control
- configuration status accountingconfiguration status accounting
- configuration auditconfiguration audit
• Encyclopedia of Software Engineering, 1994Encyclopedia of Software Engineering, 1994
18
Products for CM in testing
test plans
test designs
test cases:
- test inputtest input
- test datatest data
- test scriptstest scripts
- expected resultsexpected results
actual results
test tools
CM is critical
for controlled
testing
CM is critical
for controlled
testing
What would not be under
configuration management?
Live data!
Contents
Organisation
Configuration Management
Test estimation, monitoring and control
Incident management
Standards for testing
Test Management
1 2
4 5
3
6
20
Estimating testing is no different
Estimating any job involves the following
- identify tasksidentify tasks
- how long for each taskhow long for each task
- who should perform the taskwho should perform the task
- when should the task start and finishwhen should the task start and finish
- what resources, what skillswhat resources, what skills
- predictable dependenciespredictable dependencies
• task precedence (build test before running it)task precedence (build test before running it)
• technical precedence (add & display before edit)technical precedence (add & display before edit)
21
Estimating testing is different
Additional destabilising dependencies
- testing is not an independent activitytesting is not an independent activity
- delivery schedules for testable items misseddelivery schedules for testable items missed
- test environments are criticaltest environments are critical
Test Iterations (Cycles)
- testing should find faultstesting should find faults
- faults need to be fixedfaults need to be fixed
- after fixed, need to retestafter fixed, need to retest
- how many times does this happen?how many times does this happen?
22
Test cycles / iterations
Debug D RD R
3-4 iterations is typical
TestTheory:
Test
Practice:
Des Ex VerBldIden
Retest
Retest
23
Estimating iterations
past history
number of faults expected
- can predict from previous test effectiveness andcan predict from previous test effectiveness and
previous faults found (in test, review, Inspection)previous faults found (in test, review, Inspection)
- % faults found in each iteration (nested faults)% faults found in each iteration (nested faults)
- % fixed [in]correctly% fixed [in]correctly
time to report faults
time waiting for fixes
how much in each iteration?
24
Case history
Incident Reports (IRs)
0
20
40
60
80
100
120
140
160
180
200
04-Jun 24-Jul 12-Sep 01-Nov 21-Dec 09-Feb
Opened IRs
Closed IRs
Source: Tim Trew, Philips, June 1999
25
Control
Management actions and decisions
- affect the process, tasks and peopleaffect the process, tasks and people
- to meet original or modified planto meet original or modified plan
- to achieve objectivesto achieve objectives
Examples
- tighten entry / exit criteriatighten entry / exit criteria
- reallocation of resourcesreallocation of resources
Feedback is essential to see the effect of
actions and decisions
Feedback is essential to see the effect of
actions and decisions
26
Entry and exit criteria
Test
Phase 1
Test
Phase 2
"tested"
is it ready for my
testing?
Phase 2 Phase 1
Entry criteria Exit criteria
Acceptance
criteria
Completion
criteria
27
Entry/exit criteria examples
poor
better
clean compiled
programmer claims it is working OK
lots of tests have been run
tests have been reviewed / Inspected
no faults found in current tests
all faults found fixed and retested
specified coverage achieved
all tests run after last fault fix, no new faults
28
What actions can you take?
What can you affect?
- resource allocationresource allocation
- number of test iterationsnumber of test iterations
- tests included in antests included in an
iterationiteration
- entry / exit criteriaentry / exit criteria
appliedapplied
- release daterelease date
What can you not
affect:
- number of faults alreadynumber of faults already
therethere
What can you affect
indirectly?
- rework effortrework effort
- which faults to be fixedwhich faults to be fixed
[first][first]
- quality of fixes (entryquality of fixes (entry
criteria to retest)criteria to retest)
Contents
Organisation
Configuration Management
Test estimation, monitoring and control
Incident management
Standards for testing
Test Management
1 2
4 5
3
6
30
Incident management
Incident: any event that occurs during testing
that requires subsequent investigation or
correction.
- actual results do not match expected resultsactual results do not match expected results
- possible causes:possible causes:
• software faultsoftware fault
• test was not performed correctlytest was not performed correctly
• expected results incorrectexpected results incorrect
- can be raised for documentation as well as codecan be raised for documentation as well as code
31
Incidents
May be used to monitor and improve testing
Should be logged (after hand-over)
Should be tracked through stages, e.g.:
- initial recordinginitial recording
- analysis (s/w fault, test fault, enhancement, etc.)analysis (s/w fault, test fault, enhancement, etc.)
- assignment to fix (if fault)assignment to fix (if fault)
- fixed not testedfixed not tested
- fixed and tested OKfixed and tested OK
- closedclosed
32
Use of incident metrics
Is this testing approach “wearing out”?
What happened
in that week?
We’re better
than last year
How many faults
can we expect?
33
Report as quickly as possible?
report
5
test can’t reproduce - “not a fault” - still there
can’t reproduce, back to test to report again
insufficient information - fix is incorrect
dev 5
reproduce
20
fix
5
re-test fault fixed
10
dev
can’t
reproduce
incident
reporttest
10
34
What information about incidents?
Test ID
Test environment
Software under test ID
Actual & expected results
Severity, scope, priority
Name of tester
Any other relevant information (e.g. how to
reproduce it)
35
Severity versus priority
Severity
- impact of a failure caused by this faultimpact of a failure caused by this fault
Priority
- urgency to fix a faulturgency to fix a fault
Examples
- minor cosmetic typominor cosmetic typo
- crash if this feature is usedcrash if this feature is used
company name,
board member:
priority, not severe
Experimental,
not needed yet:
severe, not priority
36
Tester Tasks Developer Tasks
Incident Lifecycle
1 steps to reproduce a
fault
2 test fault or system fault
3 external factors that
influence the symptoms
4 root cause of the
problem
5 how to repair (without
introducing new
problems)
6 changes debugged and
properly component
tested
7 is the fault fixed?
Source: Rex Black “Managing the Testing Process”, MS Press, 1999
Contents
Organisation
Configuration Management
Test estimation, monitoring and control
Incident management
Standards for testing
Test Management
1 2
4 5
3
6
38
Standards for testing
QA standards (e.g. ISO 9000)
- testing should be performedtesting should be performed
industry-specific standards (e.g. railway,
pharmaceutical, medical)
- what level of testing should be performedwhat level of testing should be performed
testing standards (e.g. BS 7925-1&2)
- how to perform testinghow to perform testing
Summary: Key Points
Independence can be achieved by different
organisational structures
Configuration Management is critical for testing
Tests must be estimated, monitored and controlled
Incidents need to be managed
Standards for testing: quality, industry, testing
Test Management
1 2
4 5
3
6

Weitere ähnliche Inhalte

Was ist angesagt?

ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2Chandukar
 
Chapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of TestingChapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of TestingNeeraj Kumar Singh
 
Chapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality CharacteristicsChapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality CharacteristicsNeeraj Kumar Singh
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5Yogindernath Gupta
 
Chapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical TestingChapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical TestingNeeraj Kumar Singh
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationNeeraj Kumar Singh
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introductionOana Feidi
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3Chandukar
 
ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6Yogindernath Gupta
 
Chapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Chapter 1 - The Technical Test Analyst Tasks in Risk Based TestingChapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Chapter 1 - The Technical Test Analyst Tasks in Risk Based TestingNeeraj Kumar Singh
 
Chapter 3 - Analytical Techniques
Chapter 3 - Analytical TechniquesChapter 3 - Analytical Techniques
Chapter 3 - Analytical TechniquesNeeraj Kumar Singh
 
Chapter 2 - White Box Test Techniques
Chapter 2 - White Box Test TechniquesChapter 2 - White Box Test Techniques
Chapter 2 - White Box Test TechniquesNeeraj Kumar Singh
 

Was ist angesagt? (20)

ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2
 
Chapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of TestingChapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of Testing
 
Chapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality CharacteristicsChapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality Characteristics
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5
 
Chapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical TestingChapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical Testing
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
 
Chapter 3 - Test Techniques
Chapter 3 - Test TechniquesChapter 3 - Test Techniques
Chapter 3 - Test Techniques
 
Chapter 5 - Reviews
Chapter 5 - ReviewsChapter 5 - Reviews
Chapter 5 - Reviews
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
 
ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
 
Chapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Chapter 1 - The Technical Test Analyst Tasks in Risk Based TestingChapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
Chapter 1 - The Technical Test Analyst Tasks in Risk Based Testing
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic Concepts
 
Chapter 3 - Analytical Techniques
Chapter 3 - Analytical TechniquesChapter 3 - Analytical Techniques
Chapter 3 - Analytical Techniques
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
 
Chapter 2 - White Box Test Techniques
Chapter 2 - White Box Test TechniquesChapter 2 - White Box Test Techniques
Chapter 2 - White Box Test Techniques
 

Andere mochten auch

ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4Yogindernath Gupta
 
ISTQB - Foundation Level Syllabus 2011
ISTQB - Foundation Level Syllabus 2011ISTQB - Foundation Level Syllabus 2011
ISTQB - Foundation Level Syllabus 2011Professional Testing
 
Mobile Game Market In Vietnam
Mobile Game Market In VietnamMobile Game Market In Vietnam
Mobile Game Market In VietnamDI Marketing
 
Mission vishvas-resume template-8
Mission vishvas-resume template-8Mission vishvas-resume template-8
Mission vishvas-resume template-8vishvasyadav45
 
20090324 Het Nieuwe Werken Media Plaza V7
20090324 Het Nieuwe Werken Media Plaza V720090324 Het Nieuwe Werken Media Plaza V7
20090324 Het Nieuwe Werken Media Plaza V7abos
 
Establishment of university of education(2002)
Establishment of university of education(2002)Establishment of university of education(2002)
Establishment of university of education(2002)International advisers
 
Mission vishvas-resume template-5
Mission vishvas-resume template-5Mission vishvas-resume template-5
Mission vishvas-resume template-5vishvasyadav45
 
Cmmaao pmi-resume template-17
Cmmaao pmi-resume template-17Cmmaao pmi-resume template-17
Cmmaao pmi-resume template-17vishvasyadav45
 
Lending Presentation
Lending PresentationLending Presentation
Lending Presentationspencerowens
 
LIS 5240 Library Design Project
LIS 5240   Library Design ProjectLIS 5240   Library Design Project
LIS 5240 Library Design Projecttrautweiler
 
Valentines Day!!!
Valentines Day!!!Valentines Day!!!
Valentines Day!!!ummsupkid
 
End of Biological Reproduction
End of Biological ReproductionEnd of Biological Reproduction
End of Biological ReproductionCadell
 
Flora in my neighbourhood poland
Flora in my neighbourhood   polandFlora in my neighbourhood   poland
Flora in my neighbourhood polandcommeniusxxlogdansk
 
Information Viewpoints and Geoscience Service Architectures
Information Viewpoints and Geoscience Service Architectures Information Viewpoints and Geoscience Service Architectures
Information Viewpoints and Geoscience Service Architectures Simon Cox
 

Andere mochten auch (20)

ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4
 
Structure testing
Structure testingStructure testing
Structure testing
 
ISTQB - Foundation Level Syllabus 2011
ISTQB - Foundation Level Syllabus 2011ISTQB - Foundation Level Syllabus 2011
ISTQB - Foundation Level Syllabus 2011
 
ISTQB REX BLACK book
ISTQB REX BLACK bookISTQB REX BLACK book
ISTQB REX BLACK book
 
Mobile Game Market In Vietnam
Mobile Game Market In VietnamMobile Game Market In Vietnam
Mobile Game Market In Vietnam
 
Mission vishvas-resume template-8
Mission vishvas-resume template-8Mission vishvas-resume template-8
Mission vishvas-resume template-8
 
20090324 Het Nieuwe Werken Media Plaza V7
20090324 Het Nieuwe Werken Media Plaza V720090324 Het Nieuwe Werken Media Plaza V7
20090324 Het Nieuwe Werken Media Plaza V7
 
Establishment of university of education(2002)
Establishment of university of education(2002)Establishment of university of education(2002)
Establishment of university of education(2002)
 
Mission vishvas-resume template-5
Mission vishvas-resume template-5Mission vishvas-resume template-5
Mission vishvas-resume template-5
 
Cmmaao pmi-resume template-17
Cmmaao pmi-resume template-17Cmmaao pmi-resume template-17
Cmmaao pmi-resume template-17
 
RE/MAX Realty Review- August 2013
RE/MAX Realty Review- August 2013RE/MAX Realty Review- August 2013
RE/MAX Realty Review- August 2013
 
Lending Presentation
Lending PresentationLending Presentation
Lending Presentation
 
盛大文学
盛大文学盛大文学
盛大文学
 
Revive Your E- mail Approach
Revive Your E- mail ApproachRevive Your E- mail Approach
Revive Your E- mail Approach
 
LIS 5240 Library Design Project
LIS 5240   Library Design ProjectLIS 5240   Library Design Project
LIS 5240 Library Design Project
 
Valentines Day!!!
Valentines Day!!!Valentines Day!!!
Valentines Day!!!
 
End of Biological Reproduction
End of Biological ReproductionEnd of Biological Reproduction
End of Biological Reproduction
 
Flora in my neighbourhood poland
Flora in my neighbourhood   polandFlora in my neighbourhood   poland
Flora in my neighbourhood poland
 
Diapos para expo
Diapos para expoDiapos para expo
Diapos para expo
 
Information Viewpoints and Geoscience Service Architectures
Information Viewpoints and Geoscience Service Architectures Information Viewpoints and Geoscience Service Architectures
Information Viewpoints and Geoscience Service Architectures
 

Ähnlich wie Istqb chapter 5

Test management
Test managementTest management
Test managementOana Feidi
 
SQA Lecture 01 (Introduction) - Testing and SQA
SQA Lecture 01 (Introduction) - Testing and SQASQA Lecture 01 (Introduction) - Testing and SQA
SQA Lecture 01 (Introduction) - Testing and SQAsunena224
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2Yogindernath Gupta
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.pptghkadous
 
Fundamentals of Software Testing
Fundamentals of Software TestingFundamentals of Software Testing
Fundamentals of Software TestingSagar Joshi
 
Agile testing practice
Agile testing practiceAgile testing practice
Agile testing practiceMary Jiang
 
NG_TEST_Presentation_0510
NG_TEST_Presentation_0510NG_TEST_Presentation_0510
NG_TEST_Presentation_0510techweb08
 
NGTEST_Presentation
NGTEST_PresentationNGTEST_Presentation
NGTEST_Presentationtechweb08
 
NG_TEST_SR_Presentation
NG_TEST_SR_PresentationNG_TEST_SR_Presentation
NG_TEST_SR_Presentationtechweb08
 
Fundamentals of Testing (2013)
Fundamentals of Testing (2013)Fundamentals of Testing (2013)
Fundamentals of Testing (2013)Jana Gierloff
 
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...TEST Huddle
 
Acceptance testing for rome
Acceptance testing for romeAcceptance testing for rome
Acceptance testing for romeGitaAdryana
 

Ähnlich wie Istqb chapter 5 (20)

Test management
Test managementTest management
Test management
 
Software testing overview subbu
Software testing overview subbuSoftware testing overview subbu
Software testing overview subbu
 
SQA Lecture 01 (Introduction) - Testing and SQA
SQA Lecture 01 (Introduction) - Testing and SQASQA Lecture 01 (Introduction) - Testing and SQA
SQA Lecture 01 (Introduction) - Testing and SQA
 
t map brief
t map brieft map brief
t map brief
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
Fundamentals of Testing Section 1/6
Fundamentals of Testing   Section 1/6Fundamentals of Testing   Section 1/6
Fundamentals of Testing Section 1/6
 
Fundamentals of Software Testing
Fundamentals of Software TestingFundamentals of Software Testing
Fundamentals of Software Testing
 
Analytical Risk-based and Specification-based Testing - Bui Duy Tam
Analytical Risk-based and Specification-based Testing - Bui Duy TamAnalytical Risk-based and Specification-based Testing - Bui Duy Tam
Analytical Risk-based and Specification-based Testing - Bui Duy Tam
 
Agile testing practice
Agile testing practiceAgile testing practice
Agile testing practice
 
NG_TEST_Presentation_0510
NG_TEST_Presentation_0510NG_TEST_Presentation_0510
NG_TEST_Presentation_0510
 
NGTEST_Presentation
NGTEST_PresentationNGTEST_Presentation
NGTEST_Presentation
 
NG_TEST_SR_Presentation
NG_TEST_SR_PresentationNG_TEST_SR_Presentation
NG_TEST_SR_Presentation
 
Fundamentals of Testing (2013)
Fundamentals of Testing (2013)Fundamentals of Testing (2013)
Fundamentals of Testing (2013)
 
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
Paul Gerrard - The Redistribution of Testing – Where to Innovate and What to ...
 
Acceptance testing for rome
Acceptance testing for romeAcceptance testing for rome
Acceptance testing for rome
 
Cmmi
CmmiCmmi
Cmmi
 
Cmmi (2)
Cmmi (2)Cmmi (2)
Cmmi (2)
 

Istqb chapter 5

  • 1. Test Management Software Testing 1 Principles 2 Lifecycle 4 Dynamic test techniques 3 Static testing 5 Management 6 Tools
  • 2. Contents Organisation Configuration Management Test estimation, monitoring and control Incident management Standards for testing ISEB Foundation Certificate Course Test Management 1 2 4 5 3 6
  • 3. 3 Importance of Independence Time No. faults Release to End Users
  • 4. 4 Organisational structures for testing Developer responsibility (only) Development team responsibility (buddy system) Tester(s) on the development team Dedicated team of testers (not developers) Internal test consultants (advice, review, support, not perform the testing) Outside organisation (3rd party testers)
  • 5. 5 Testing by developers Pro’s: - know the code bestknow the code best - will find problems that the testers will misswill find problems that the testers will miss - they can find and fix faults cheaplythey can find and fix faults cheaply Con’s - difficult to destroy own workdifficult to destroy own work - tendency to 'see' expected results, not actual resultstendency to 'see' expected results, not actual results - subjective assessmentsubjective assessment
  • 6. 6 Testing by development team (buddy) Pro’s: - some independencesome independence - technical depthtechnical depth - on friendly terms with “buddy” - less threateningon friendly terms with “buddy” - less threatening Con’s - pressure of own development workpressure of own development work - technical view, not business viewtechnical view, not business view - lack of testing skilllack of testing skill
  • 7. 7 Tester on development team Pro’s: - independent view of the softwareindependent view of the software - dedicated to testing, no development responsibilitydedicated to testing, no development responsibility - part of the team, working to same goal: qualitypart of the team, working to same goal: quality Con’s - lack of respectlack of respect - lonely, thankless tasklonely, thankless task - corruptible (peer pressure)corruptible (peer pressure) - a single view / opiniona single view / opinion
  • 8. 8 Independent test team Pro’s: - dedicated team just to do testingdedicated team just to do testing - specialist testing expertisespecialist testing expertise - testing is more objective & more consistenttesting is more objective & more consistent Con’s - ““over the wall” syndromeover the wall” syndrome - may be antagonistic / confrontationalmay be antagonistic / confrontational - over-reliance on testers, insufficient testing byover-reliance on testers, insufficient testing by developersdevelopers
  • 9. 9 Internal test consultants Pro’s: - highly specialist testing expertise, providing supporthighly specialist testing expertise, providing support and help to improve testing done by alland help to improve testing done by all - better planning, estimation & control from a broadbetter planning, estimation & control from a broad view of testing in the organisationview of testing in the organisation Con’s - someone still has to do the testingsomeone still has to do the testing - level of expertise enough?level of expertise enough? - needs good “people” skills - communicationneeds good “people” skills - communication - influence, not authorityinfluence, not authority
  • 10. 10 Outside organisation (3rd party) Pro’s: - highly specialist testing expertise (if outsourced to ahighly specialist testing expertise (if outsourced to a good organisation)good organisation) - independent of internal politicsindependent of internal politics Con’s - lack of company and product knowledgelack of company and product knowledge - expertise gained goes outside the companyexpertise gained goes outside the company - expensive?expensive?
  • 11. 11 Usual choices Component testing: - done by programmers (or buddy)done by programmers (or buddy) Integration testing in the small: - poorly defined activitypoorly defined activity System testing: - often done by independent test teamoften done by independent test team Acceptance testing: - done by users (with technical help)done by users (with technical help) - demonstration for confidencedemonstration for confidence
  • 12. 12 Resourcing issues independence is important - not a replacement for familiaritynot a replacement for familiarity different levels of independence - pro's and con's at all levelspro's and con's at all levels test techniques offer another dimension to independence (independence of thought) test strategy should use a good mix - "declaration of independence”"declaration of independence” balance of skills needed
  • 13. 13 Skills needed in testing Technique specialists Automators Database experts Business skills & understanding Usability expert Test environment expert Test managers
  • 14. Contents Organisation Configuration Management Test estimation, monitoring and control Incident management Standards for testing Test Management 1 2 4 5 3 6
  • 15. 15 Problems resulting from poor configuration management can’t reproduce a fault reported by a customer can’t roll back to previous subsystem one change overwrites another emergency fault fix needs testing but tests have been updated to new software version which code changes belong to which version? faults which were fixed re-appear tests worked perfectly - on old version “Shouldn’t that feature be in this version?”
  • 16. 16 A definition of Configuration Management “The process of identifying and defining the configuration items in a system, controlling the release and change of these items throughout the system life cycle, recording and reporting the status of configuration items and change requests, and verifying the completeness and correctness of configuration items.” - ANSI/IEEE Std 729-1983, Software EngineeringANSI/IEEE Std 729-1983, Software Engineering TerminologyTerminology
  • 17. 17 Configuration Management An engineering management procedure that includes - configuration identificationconfiguration identification - configuration controlconfiguration control - configuration status accountingconfiguration status accounting - configuration auditconfiguration audit • Encyclopedia of Software Engineering, 1994Encyclopedia of Software Engineering, 1994
  • 18. 18 Products for CM in testing test plans test designs test cases: - test inputtest input - test datatest data - test scriptstest scripts - expected resultsexpected results actual results test tools CM is critical for controlled testing CM is critical for controlled testing What would not be under configuration management? Live data!
  • 19. Contents Organisation Configuration Management Test estimation, monitoring and control Incident management Standards for testing Test Management 1 2 4 5 3 6
  • 20. 20 Estimating testing is no different Estimating any job involves the following - identify tasksidentify tasks - how long for each taskhow long for each task - who should perform the taskwho should perform the task - when should the task start and finishwhen should the task start and finish - what resources, what skillswhat resources, what skills - predictable dependenciespredictable dependencies • task precedence (build test before running it)task precedence (build test before running it) • technical precedence (add & display before edit)technical precedence (add & display before edit)
  • 21. 21 Estimating testing is different Additional destabilising dependencies - testing is not an independent activitytesting is not an independent activity - delivery schedules for testable items misseddelivery schedules for testable items missed - test environments are criticaltest environments are critical Test Iterations (Cycles) - testing should find faultstesting should find faults - faults need to be fixedfaults need to be fixed - after fixed, need to retestafter fixed, need to retest - how many times does this happen?how many times does this happen?
  • 22. 22 Test cycles / iterations Debug D RD R 3-4 iterations is typical TestTheory: Test Practice: Des Ex VerBldIden Retest Retest
  • 23. 23 Estimating iterations past history number of faults expected - can predict from previous test effectiveness andcan predict from previous test effectiveness and previous faults found (in test, review, Inspection)previous faults found (in test, review, Inspection) - % faults found in each iteration (nested faults)% faults found in each iteration (nested faults) - % fixed [in]correctly% fixed [in]correctly time to report faults time waiting for fixes how much in each iteration?
  • 24. 24 Case history Incident Reports (IRs) 0 20 40 60 80 100 120 140 160 180 200 04-Jun 24-Jul 12-Sep 01-Nov 21-Dec 09-Feb Opened IRs Closed IRs Source: Tim Trew, Philips, June 1999
  • 25. 25 Control Management actions and decisions - affect the process, tasks and peopleaffect the process, tasks and people - to meet original or modified planto meet original or modified plan - to achieve objectivesto achieve objectives Examples - tighten entry / exit criteriatighten entry / exit criteria - reallocation of resourcesreallocation of resources Feedback is essential to see the effect of actions and decisions Feedback is essential to see the effect of actions and decisions
  • 26. 26 Entry and exit criteria Test Phase 1 Test Phase 2 "tested" is it ready for my testing? Phase 2 Phase 1 Entry criteria Exit criteria Acceptance criteria Completion criteria
  • 27. 27 Entry/exit criteria examples poor better clean compiled programmer claims it is working OK lots of tests have been run tests have been reviewed / Inspected no faults found in current tests all faults found fixed and retested specified coverage achieved all tests run after last fault fix, no new faults
  • 28. 28 What actions can you take? What can you affect? - resource allocationresource allocation - number of test iterationsnumber of test iterations - tests included in antests included in an iterationiteration - entry / exit criteriaentry / exit criteria appliedapplied - release daterelease date What can you not affect: - number of faults alreadynumber of faults already therethere What can you affect indirectly? - rework effortrework effort - which faults to be fixedwhich faults to be fixed [first][first] - quality of fixes (entryquality of fixes (entry criteria to retest)criteria to retest)
  • 29. Contents Organisation Configuration Management Test estimation, monitoring and control Incident management Standards for testing Test Management 1 2 4 5 3 6
  • 30. 30 Incident management Incident: any event that occurs during testing that requires subsequent investigation or correction. - actual results do not match expected resultsactual results do not match expected results - possible causes:possible causes: • software faultsoftware fault • test was not performed correctlytest was not performed correctly • expected results incorrectexpected results incorrect - can be raised for documentation as well as codecan be raised for documentation as well as code
  • 31. 31 Incidents May be used to monitor and improve testing Should be logged (after hand-over) Should be tracked through stages, e.g.: - initial recordinginitial recording - analysis (s/w fault, test fault, enhancement, etc.)analysis (s/w fault, test fault, enhancement, etc.) - assignment to fix (if fault)assignment to fix (if fault) - fixed not testedfixed not tested - fixed and tested OKfixed and tested OK - closedclosed
  • 32. 32 Use of incident metrics Is this testing approach “wearing out”? What happened in that week? We’re better than last year How many faults can we expect?
  • 33. 33 Report as quickly as possible? report 5 test can’t reproduce - “not a fault” - still there can’t reproduce, back to test to report again insufficient information - fix is incorrect dev 5 reproduce 20 fix 5 re-test fault fixed 10 dev can’t reproduce incident reporttest 10
  • 34. 34 What information about incidents? Test ID Test environment Software under test ID Actual & expected results Severity, scope, priority Name of tester Any other relevant information (e.g. how to reproduce it)
  • 35. 35 Severity versus priority Severity - impact of a failure caused by this faultimpact of a failure caused by this fault Priority - urgency to fix a faulturgency to fix a fault Examples - minor cosmetic typominor cosmetic typo - crash if this feature is usedcrash if this feature is used company name, board member: priority, not severe Experimental, not needed yet: severe, not priority
  • 36. 36 Tester Tasks Developer Tasks Incident Lifecycle 1 steps to reproduce a fault 2 test fault or system fault 3 external factors that influence the symptoms 4 root cause of the problem 5 how to repair (without introducing new problems) 6 changes debugged and properly component tested 7 is the fault fixed? Source: Rex Black “Managing the Testing Process”, MS Press, 1999
  • 37. Contents Organisation Configuration Management Test estimation, monitoring and control Incident management Standards for testing Test Management 1 2 4 5 3 6
  • 38. 38 Standards for testing QA standards (e.g. ISO 9000) - testing should be performedtesting should be performed industry-specific standards (e.g. railway, pharmaceutical, medical) - what level of testing should be performedwhat level of testing should be performed testing standards (e.g. BS 7925-1&2) - how to perform testinghow to perform testing
  • 39. Summary: Key Points Independence can be achieved by different organisational structures Configuration Management is critical for testing Tests must be estimated, monitored and controlled Incidents need to be managed Standards for testing: quality, industry, testing Test Management 1 2 4 5 3 6

Hinweis der Redaktion

  1. Software being tested has internal dependencies - calling hierarchy - messages passed - use of data - visibility features (display / print) Testing is dependent on the development schedule - test order should determine planned build order - actual build order depends on internal development aspects Testing is dependent on the quality of the software - faults found => retesting
  2. The Test Effort includes development activities as well as test activities