SlideShare a Scribd company logo
1 of 67
Principles of Testing 1 Principles 2 Lifecycle 4 Dynamic test techniques 3 Static testing 5 Management 6 Tools Software Testing  ISEB Foundation Certificate Course
Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests Principles 1 2 3 4 5 6 ISEB Foundation Certificate Course
Testing terminology ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is a “bug”? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Failure is an event; fault is a state of the software, caused by an error
Error - Fault - Failure A person makes an error ... …  that creates a fault in the software ... …  that can cause a failure in operation
Reliability versus faults ,[object Object],[object Object],[object Object],[object Object]
Why do faults occur in software? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What do software faults cost? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Safety-critical systems ,[object Object],[object Object],[object Object],[object Object],[object Object]
So why is testing necessary? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why not just "test everything"? ,[object Object],[object Object],[object Object],[object Object],10 secs = 34 wks, 1 min = 4 yrs, 10 min = 40 yrs system has 20 screens Average: 10 fields / screen 2 types input / field (date as Jan 3 or 3/1) (number as integer or decimal) Around 100 possible values Avr. 4 menus 3 options / menu
Exhaustive testing? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How much testing is enough? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How much testing? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
So little time, so much to test .. ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],} i.e. where to place emphasis
Most important principle Prioritise tests so that,  whenever you stop testing, you have done the best testing in the time available.
Testing and quality ,[object Object],[object Object],[object Object],[object Object],[object Object]
Other factors that influence testing ,[object Object],[object Object],[object Object],[object Object],It is difficult to determine how much testing is enough but it is not impossible
Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests ISEB Foundation Certificate Course Principles 1 2 3 4 5 6
Test Planning - different levels Test Policy Test Strategy Company level High Level Test Plan High Level Test Plan Project level (IEEE 829) (one for each project) Detailed Test Plan Detailed Test Plan Detailed Test Plan Detailed Test Plan Test stage level (IEEE 829) (one for each stage within a project, e.g. Component, System, etc.)
The test process specification execution recording check completion Planning (detailed level)
Test planning ,[object Object],[object Object],[object Object],[object Object],[object Object]
Test specification specification execution recording check completion Identify conditions Design test cases Build tests Planning (detailed level)
A good test case ,[object Object],[object Object],[object Object],[object Object],Finds faults Represents others Easy to maintain Cheap to use
Test specification ,[object Object],[object Object],[object Object],[object Object]
Task 1: identify conditions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],(determine ‘what’ is to be tested and prioritise)
Selecting test conditions   Importance Time Best set First set
Task 2: design test cases ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],(determine ‘how’ the ‘what’ is to be tested)
Designing test cases Importance Time Most important test conditions Least important test conditions Test cases
Task 3: build test cases ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],(implement the test cases)
Test execution specification execution recording check completion Planning (detailed level)
Execution ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Test recording specification execution recording check completion Planning (detailed level)
Test recording 1 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Test recording 2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Check test completion specification execution recording check completion Planning (detailed level)
Check test completion ,[object Object],[object Object],specification execution recording check completion Coverage too low Coverage OK
Test completion criteria ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Comparison of tasks one-off activity activity repeated many times Governs the quality of tests Good to automate Clerical Intellectual Execute Recording Planning Specification
Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests ISEB Foundation Certificate Course Principles 1 2 3 4 5 6
Why test? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Confidence No faults found = confidence? Fault found Faults found Time Confidence
Assessing software quality Few Faults Many Faults Few Faults Few Faults Few Faults You may  be here You think you are here Test Quality Low High Software Quality Low High
A traditional testing approach ,[object Object],[object Object],[object Object],Fastest achievement: easy test cases Goal:  show working Success: system works Result: faults left in
A better testing approach ,[object Object],[object Object],[object Object],Fastest achievement: difficult test cases Goal:  find faults Success: system fails Result: fewer faults left in
The testing paradox Purpose of testing: to find faults The best way to build confidence is to try to destroy it Purpose of testing: build confidence Finding faults destroys confidence Purpose of testing: destroy confidence
Who wants to be a tester? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Tester’s have the right to: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Testers have responsibility to: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Independence ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Levels of independence ,[object Object],[object Object],[object Object],[object Object],[object Object]
Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests ISEB Foundation Certificate Course Principles 1 2 3 4 5 6
Re-testing after faults are fixed ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Re-testing  (re-running failed tests) x x x x New faults introduced by the first fault fix not found during re-testing Re-test to check Fault now fixed 
Regression test ,[object Object],x x x x  Can’t guarantee to find them all
Regression testing 1 ,[object Object],[object Object],[object Object],[object Object],[object Object]
Regression testing 2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Regression testing 3 ,[object Object],[object Object],[object Object],[object Object],[object Object]
Regression testing and automation ,[object Object],[object Object],[object Object],[object Object]
Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests ISEB Foundation Certificate Course Principles 1 2 3 4 5 6
Expected results ,[object Object],[object Object],[object Object],[object Object],[object Object]
A test A Program: Source: Carsten Jorgensen, Delta, Denmark 3 8 6? 10? Read A IF (A = 8) THEN PRINT (“10”) ELSE PRINT (2*A) inputs expected outputs
Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests ISEB Foundation Certificate Course Principles 1 2 3 4 5 6
Prioritising tests ,[object Object],[object Object],[object Object]
Most important principle Prioritise tests so that,  whenever you stop testing, you have done the best testing in the time available.
How to prioritise? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Summary: Key Points Testing is necessary because people make errors The test process: planning, specification, execution, recording, checking completion Independence & relationships are important in testing Re-test fixes; regression test for the unexpected Expected results from a specification in advance Prioritise to do the best testing in the time you have ISEB Foundation Certificate Course Principles 1 2 3 4 5 6

More Related Content

What's hot

TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
suhasreddy1
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testing
pingkapil
 
Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategy
tharindakasun
 

What's hot (20)

Agile Testing - presentation for Agile User Group
Agile Testing - presentation for Agile User GroupAgile Testing - presentation for Agile User Group
Agile Testing - presentation for Agile User Group
 
Test Mühendisliğine Giriş Eğitimi - Bölüm 2
Test Mühendisliğine Giriş Eğitimi - Bölüm 2Test Mühendisliğine Giriş Eğitimi - Bölüm 2
Test Mühendisliğine Giriş Eğitimi - Bölüm 2
 
ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6
 
ISTQB Eğitim Sunumu
ISTQB Eğitim SunumuISTQB Eğitim Sunumu
ISTQB Eğitim Sunumu
 
Testing in Agile Projects
Testing in Agile ProjectsTesting in Agile Projects
Testing in Agile Projects
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
 
ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4ISTQB / ISEB Foundation Exam Practice - 4
ISTQB / ISEB Foundation Exam Practice - 4
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testing
 
Software testing - Risk management
Software testing - Risk managementSoftware testing - Risk management
Software testing - Risk management
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5ISTQB / ISEB Foundation Exam Practice - 5
ISTQB / ISEB Foundation Exam Practice - 5
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile Tester
 
Stlc ppt
Stlc pptStlc ppt
Stlc ppt
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testing
 
Agile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil KaradeAgile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil Karade
 
Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategy
 
Manual Testing Notes
Manual Testing NotesManual Testing Notes
Manual Testing Notes
 
Software Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s GuideSoftware Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s Guide
 

Viewers also liked

ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)
ISTQB®
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
Rathna Priya
 

Viewers also liked (17)

ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)
 
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
 
Scrum best practices
Scrum best practicesScrum best practices
Scrum best practices
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
Agile for Non-IT
Agile for Non-ITAgile for Non-IT
Agile for Non-IT
 
Qtp 9.5 Tutorials by www.onsoftwaretest.com
Qtp 9.5 Tutorials by www.onsoftwaretest.comQtp 9.5 Tutorials by www.onsoftwaretest.com
Qtp 9.5 Tutorials by www.onsoftwaretest.com
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Istqb certification – foundation level syllabus
Istqb certification – foundation level syllabusIstqb certification – foundation level syllabus
Istqb certification – foundation level syllabus
 
Istqb foundation level
Istqb foundation levelIstqb foundation level
Istqb foundation level
 
Agile Tour Delhi NCR2014 - Agile innovation games rahul sudame
Agile Tour Delhi NCR2014 - Agile innovation games   rahul sudameAgile Tour Delhi NCR2014 - Agile innovation games   rahul sudame
Agile Tour Delhi NCR2014 - Agile innovation games rahul sudame
 
Software Testing Principles and  Techniques
Software Testing Principles and  Techniques Software Testing Principles and  Techniques
Software Testing Principles and  Techniques
 
ISTQB Foundation level Sample Paper - Part 3
ISTQB Foundation level Sample Paper - Part 3 ISTQB Foundation level Sample Paper - Part 3
ISTQB Foundation level Sample Paper - Part 3
 
Agile Testing
Agile Testing Agile Testing
Agile Testing
 
Need for scaling agile
Need for scaling agileNeed for scaling agile
Need for scaling agile
 
Test Automation NYC 2014
Test Automation NYC 2014Test Automation NYC 2014
Test Automation NYC 2014
 

Similar to ISTQB, ISEB Lecture Notes

NG_TEST_Presentation_0510
NG_TEST_Presentation_0510NG_TEST_Presentation_0510
NG_TEST_Presentation_0510
techweb08
 
NGTEST_Presentation
NGTEST_PresentationNGTEST_Presentation
NGTEST_Presentation
techweb08
 
NG_TEST_SR_Presentation
NG_TEST_SR_PresentationNG_TEST_SR_Presentation
NG_TEST_SR_Presentation
techweb08
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_module
Suresh Mishra
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
Yogindernath Gupta
 

Similar to ISTQB, ISEB Lecture Notes (20)

1
11
1
 
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
 
ISTQBCH foundation level chapter 01 fundamentals of testing
ISTQBCH foundation level chapter 01 fundamentals of testingISTQBCH foundation level chapter 01 fundamentals of testing
ISTQBCH foundation level chapter 01 fundamentals of testing
 
Less01 1 introduction_module
Less01 1 introduction_moduleLess01 1 introduction_module
Less01 1 introduction_module
 
Software Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet SolutionSoftware Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet Solution
 
Testing- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionTesting- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solution
 
ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
 
Test planning
Test planningTest planning
Test planning
 
1 testing fundamentals
1 testing fundamentals1 testing fundamentals
1 testing fundamentals
 
Qa documentation pp
Qa documentation ppQa documentation pp
Qa documentation pp
 
System testing
System testingSystem testing
System testing
 
Fundamentals of Testing Section 1/6
Fundamentals of Testing   Section 1/6Fundamentals of Testing   Section 1/6
Fundamentals of Testing Section 1/6
 
Software testing overview subbu
Software testing overview subbuSoftware testing overview subbu
Software testing overview subbu
 
Istqb lesson1
Istqb lesson1Istqb lesson1
Istqb lesson1
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Ôn tập kiến thức ISTQB
Ôn tập kiến thức ISTQBÔn tập kiến thức ISTQB
Ôn tập kiến thức ISTQB
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

ISTQB, ISEB Lecture Notes

  • 1. Principles of Testing 1 Principles 2 Lifecycle 4 Dynamic test techniques 3 Static testing 5 Management 6 Tools Software Testing ISEB Foundation Certificate Course
  • 2. Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests Principles 1 2 3 4 5 6 ISEB Foundation Certificate Course
  • 3.
  • 4.
  • 5. Error - Fault - Failure A person makes an error ... … that creates a fault in the software ... … that can cause a failure in operation
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Most important principle Prioritise tests so that, whenever you stop testing, you have done the best testing in the time available.
  • 17.
  • 18.
  • 19. Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests ISEB Foundation Certificate Course Principles 1 2 3 4 5 6
  • 20. Test Planning - different levels Test Policy Test Strategy Company level High Level Test Plan High Level Test Plan Project level (IEEE 829) (one for each project) Detailed Test Plan Detailed Test Plan Detailed Test Plan Detailed Test Plan Test stage level (IEEE 829) (one for each stage within a project, e.g. Component, System, etc.)
  • 21. The test process specification execution recording check completion Planning (detailed level)
  • 22.
  • 23. Test specification specification execution recording check completion Identify conditions Design test cases Build tests Planning (detailed level)
  • 24.
  • 25.
  • 26.
  • 27. Selecting test conditions   Importance Time Best set First set
  • 28.
  • 29. Designing test cases Importance Time Most important test conditions Least important test conditions Test cases
  • 30.
  • 31. Test execution specification execution recording check completion Planning (detailed level)
  • 32.
  • 33. Test recording specification execution recording check completion Planning (detailed level)
  • 34.
  • 35.
  • 36. Check test completion specification execution recording check completion Planning (detailed level)
  • 37.
  • 38.
  • 39. Comparison of tasks one-off activity activity repeated many times Governs the quality of tests Good to automate Clerical Intellectual Execute Recording Planning Specification
  • 40. Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests ISEB Foundation Certificate Course Principles 1 2 3 4 5 6
  • 41.
  • 42. Confidence No faults found = confidence? Fault found Faults found Time Confidence
  • 43. Assessing software quality Few Faults Many Faults Few Faults Few Faults Few Faults You may be here You think you are here Test Quality Low High Software Quality Low High
  • 44.
  • 45.
  • 46. The testing paradox Purpose of testing: to find faults The best way to build confidence is to try to destroy it Purpose of testing: build confidence Finding faults destroys confidence Purpose of testing: destroy confidence
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52. Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests ISEB Foundation Certificate Course Principles 1 2 3 4 5 6
  • 53.
  • 54. Re-testing (re-running failed tests) x x x x New faults introduced by the first fault fix not found during re-testing Re-test to check Fault now fixed 
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60. Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests ISEB Foundation Certificate Course Principles 1 2 3 4 5 6
  • 61.
  • 62. A test A Program: Source: Carsten Jorgensen, Delta, Denmark 3 8 6? 10? Read A IF (A = 8) THEN PRINT (“10”) ELSE PRINT (2*A) inputs expected outputs
  • 63. Contents Why testing is necessary Fundamental test process Psychology of testing Re-testing and regression testing Expected results Prioritisation of tests ISEB Foundation Certificate Course Principles 1 2 3 4 5 6
  • 64.
  • 65. Most important principle Prioritise tests so that, whenever you stop testing, you have done the best testing in the time available.
  • 66.
  • 67. Summary: Key Points Testing is necessary because people make errors The test process: planning, specification, execution, recording, checking completion Independence & relationships are important in testing Re-test fixes; regression test for the unexpected Expected results from a specification in advance Prioritise to do the best testing in the time you have ISEB Foundation Certificate Course Principles 1 2 3 4 5 6