SlideShare a Scribd company logo
1 of 13
Software testing is a formal process carried out by a
specialized testing team in which a software
unit, several integrated software units or an
entiresoftware package are examined by running the
programs on a computer. All the associated tests are
performed according to approved test procedures on
approved test cases.
Software testing (or “testing”) was the first software
quality assurance tool applied to control the software
product’s quality before its shipment or installation at
the customer’s premises.
0 At first, testing was confined to the final stage of
  development, after the entire package had been completed.
0 Later, as the importance of early detection of software
  defects penetrated quality assurance concepts, SQA
  professionals were encouraged to extend testing to the
  partial in-process products of coding, which led to
  software module (unit) testing and integration testing.
0 Common to all testing activities is their application
  through the direct running of code, free of review of
  development documents. Some authors tend to broaden
  the scope of testing even further and consider all software
  life cycle quality assurance activities as types of testing
  activities.
Software Testing Strategies
0 Big bang testing : test the software in its entirety, once
  the completed package is available;
0 Unit Test : test the software piecemeal, in modules, as
  they are completed
0 Integration tests : test groups of tested modules
  integrated with newly completed modules ().
0 Incremental testing : This process continues until all
  the package modules have been tested. Once this
  phase is completed, the entire package is tested as a
  whole (system test).
Incremental Testing
0 In top-down testing, the first module tested is the
  main module, the highest level module in the software
  structure; the last modules to be tested are the lowest
  level modules.
0 In bottom-up testing, the order of testing is reversed:
  the lowest level modules are tested first, with the
  main module tested last.
Software Test Clasifications
Classification according to testing concept:
0 Black box (functionality) testing. Identifies bugs only
  according to software malfunctioning as they are revealed
  in its erroneous outputs. In cases that the outputs are
  found to be correct, black box testing disregards the
  internal path of calculations and processing performed.
0 White box (structural) testing. Examines internal
  calculation paths in order to identify bugs. Although the
  term “white” is meant to emphasize the contrast between
  this method and black box testing, the method’s other
  name – “glass box testing” – better expresses its basic
  characteristic, that of investigating the correctness of code
  structure.
Classification according to
requirements:

 0 Correctness      0 Portability
 0 Reliability      0 Reusability
 0 Efficiency       0 Interoperability
 0 Integrity
 0 Usability
 0 Maintability
 0 Flexibility
 0 Testability
WHITE BOX TESTING
0 White box testing enables performance of data
  processing and calculations correctness
  tests, software qualification tests, maintainability
  tests and reusability tests.
0 In order to perform data processing and calculation
  correctness tests (“white box correctness test”), every
  computational operation in the sequence of
  operations created by each test case (“path”) must be
  examined.
Data processing and
calculation correctness tests
Applying the concept of white box testing, which is based on
checking the data processing for each test case, immediately
raises the question of coverage of a vast number of possible
processing paths and the multitudes of lines of code. Two
alternative approaches have emerged:
0 “Path coverage” – to plan our test to cover all the possible
  paths, where coverage is measured by percentage of paths
  covered.
0 “Line coverage” – to plan our tests to cover all the program
  code lines, where coverage is measured by percentage of
  lines covered.
Correctness tests and path
         coverage
Different paths in a software module are created by the
choice in conditional statements, such as IF–THEN–
ELSE or DO WHILE or DO UNTIL. Path testing is
motivated by the aspiration to achieve complete
coverage of a program by testing all its possible paths.
Correctness tests and line
          coverage
The line coverage concept requires that, for full line
coverage, every line of code be executed at least once
during the process of testing. The line coverage metrics
for completeness of a line-testing (“basic path testing”)
plan are defined as the percentage of lines indeed
executed – that is, covered – during the tests.
Black Box Testing
0 Black box testing allows us to perform output
 correctness tests and most classes of tests. Apart from
 output correctness tests (if you are prepared to pay
 the extra costs, these could be performed by white
 box data processing and calculation correctness tests)
 and maintainability tests (that could be performed by
 white box tests), most of the other testing classes are
 unique to black box testing.

More Related Content

What's hot

Software testing (strategies)
Software testing (strategies)Software testing (strategies)
Software testing (strategies)Luthfia Ulinnuha
 
7 stages of unit testing
7 stages of unit testing7 stages of unit testing
7 stages of unit testingJorge Ortiz
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniquesFincy V.J
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing FundamentalsKiran Kumar
 
Software testing definition
Software testing definitionSoftware testing definition
Software testing definitionHiro Mia
 
Software Testing Strategies, Method and Life Cycle
Software Testing Strategies, Method and Life CycleSoftware Testing Strategies, Method and Life Cycle
Software Testing Strategies, Method and Life CycleNexSoftsys
 
Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Damian T. Gordon
 
Quality assurance tests
Quality assurance testsQuality assurance tests
Quality assurance testsamitzore
 
12 functional-system-testing
12 functional-system-testing12 functional-system-testing
12 functional-system-testingnickynicks76
 
Testing in multiplatform environment
Testing in multiplatform environmentTesting in multiplatform environment
Testing in multiplatform environmentshivanichauhan1953
 
White Box Testing
White Box TestingWhite Box Testing
White Box TestingAlisha Roy
 
Explain functional testing and its types
Explain functional testing and its typesExplain functional testing and its types
Explain functional testing and its typesConcetto Labs
 
White box testing
White box testing White box testing
White box testing Mani Kanth
 
System Integration Testing
System Integration TestingSystem Integration Testing
System Integration TestingJosh Case
 
Unit testing - what is its importance
Unit testing - what is its importanceUnit testing - what is its importance
Unit testing - what is its importanceTestingXperts
 

What's hot (20)

Software testing (strategies)
Software testing (strategies)Software testing (strategies)
Software testing (strategies)
 
7 stages of unit testing
7 stages of unit testing7 stages of unit testing
7 stages of unit testing
 
Test Techniques
Test TechniquesTest Techniques
Test Techniques
 
6. Testing Guidelines
6. Testing Guidelines6. Testing Guidelines
6. Testing Guidelines
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniques
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing Fundamentals
 
Software testing definition
Software testing definitionSoftware testing definition
Software testing definition
 
Software Testing Strategies, Method and Life Cycle
Software Testing Strategies, Method and Life CycleSoftware Testing Strategies, Method and Life Cycle
Software Testing Strategies, Method and Life Cycle
 
Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)
 
Quality assurance tests
Quality assurance testsQuality assurance tests
Quality assurance tests
 
12 functional-system-testing
12 functional-system-testing12 functional-system-testing
12 functional-system-testing
 
Testing in multiplatform environment
Testing in multiplatform environmentTesting in multiplatform environment
Testing in multiplatform environment
 
Sta unit 3(abimanyu)
Sta unit 3(abimanyu)Sta unit 3(abimanyu)
Sta unit 3(abimanyu)
 
White Box Testing
White Box TestingWhite Box Testing
White Box Testing
 
Explain functional testing and its types
Explain functional testing and its typesExplain functional testing and its types
Explain functional testing and its types
 
White box testing
White box testing White box testing
White box testing
 
Black box and white box testing
Black box and white box testingBlack box and white box testing
Black box and white box testing
 
System Integration Testing
System Integration TestingSystem Integration Testing
System Integration Testing
 
Unit testing - what is its importance
Unit testing - what is its importanceUnit testing - what is its importance
Unit testing - what is its importance
 

Similar to Software testing

Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software TestingNishant Worah
 
White-box testing.pptx
White-box testing.pptxWhite-box testing.pptx
White-box testing.pptxhalaalz3by
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentAkshayaM79
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhardeepikakaler1
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhianadeepikakaler1
 
Chapter 10 Testing and Quality Assurance1Unders.docx
Chapter 10 Testing and Quality Assurance1Unders.docxChapter 10 Testing and Quality Assurance1Unders.docx
Chapter 10 Testing and Quality Assurance1Unders.docxketurahhazelhurst
 
6months industrial training in software testing, jalandhar
6months industrial training in software testing, jalandhar6months industrial training in software testing, jalandhar
6months industrial training in software testing, jalandhardeepikakaler1
 
6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhianadeepikakaler1
 
6 weeks summer training in software testing,jalandhar
6 weeks summer training in software testing,jalandhar6 weeks summer training in software testing,jalandhar
6 weeks summer training in software testing,jalandhardeepikakaler1
 
6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhiana6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhianadeepikakaler1
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Conceptsmqamarhayat
 
5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.ppt5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.pptSyedAhmad732853
 
Manual Testing Questions
Manual Testing QuestionsManual Testing Questions
Manual Testing QuestionsUser1test
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4SIMONTHOMAS S
 

Similar to Software testing (20)

Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
 
Testing
TestingTesting
Testing
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
White-box testing.pptx
White-box testing.pptxWhite-box testing.pptx
White-box testing.pptx
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Software testing mtech project in jalandhar
Software testing mtech project in jalandharSoftware testing mtech project in jalandhar
Software testing mtech project in jalandhar
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
 
Testing
TestingTesting
Testing
 
Chapter 10 Testing and Quality Assurance1Unders.docx
Chapter 10 Testing and Quality Assurance1Unders.docxChapter 10 Testing and Quality Assurance1Unders.docx
Chapter 10 Testing and Quality Assurance1Unders.docx
 
6months industrial training in software testing, jalandhar
6months industrial training in software testing, jalandhar6months industrial training in software testing, jalandhar
6months industrial training in software testing, jalandhar
 
6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana
 
6 weeks summer training in software testing,jalandhar
6 weeks summer training in software testing,jalandhar6 weeks summer training in software testing,jalandhar
6 weeks summer training in software testing,jalandhar
 
6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhiana6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhiana
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Concepts
 
5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.ppt5.Black Box Testing and Levels of Testing.ppt
5.Black Box Testing and Levels of Testing.ppt
 
Manual Testing Questions
Manual Testing QuestionsManual Testing Questions
Manual Testing Questions
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4CS8494 SOFTWARE ENGINEERING Unit-4
CS8494 SOFTWARE ENGINEERING Unit-4
 

More from ashamarsha

Progress control
Progress controlProgress control
Progress controlashamarsha
 
Configuration management
Configuration managementConfiguration management
Configuration managementashamarsha
 
Staff training and certification
Staff training and certificationStaff training and certification
Staff training and certificationashamarsha
 
SQA architecture
SQA architectureSQA architecture
SQA architectureashamarsha
 
Software quality factor2(2)
Software quality factor2(2)Software quality factor2(2)
Software quality factor2(2)ashamarsha
 
Software quality factor
Software quality factor Software quality factor
Software quality factor ashamarsha
 
Software quality factor2_part2
Software quality factor2_part2Software quality factor2_part2
Software quality factor2_part2ashamarsha
 
Software quality factor2
Software quality factor2Software quality factor2
Software quality factor2ashamarsha
 
Software quality factors
Software quality factorsSoftware quality factors
Software quality factorsashamarsha
 
Penyebab error
Penyebab errorPenyebab error
Penyebab errorashamarsha
 
Resume quality
Resume quality Resume quality
Resume quality ashamarsha
 
Software Quality Factors
Software Quality FactorsSoftware Quality Factors
Software Quality Factorsashamarsha
 

More from ashamarsha (13)

Progress control
Progress controlProgress control
Progress control
 
Configuration management
Configuration managementConfiguration management
Configuration management
 
Staff training and certification
Staff training and certificationStaff training and certification
Staff training and certification
 
SQA architecture
SQA architectureSQA architecture
SQA architecture
 
Software quality factor2(2)
Software quality factor2(2)Software quality factor2(2)
Software quality factor2(2)
 
Software quality factor
Software quality factor Software quality factor
Software quality factor
 
Software quality factor2_part2
Software quality factor2_part2Software quality factor2_part2
Software quality factor2_part2
 
Software quality factor2
Software quality factor2Software quality factor2
Software quality factor2
 
Software quality factors
Software quality factorsSoftware quality factors
Software quality factors
 
Penyebab error
Penyebab errorPenyebab error
Penyebab error
 
Resume quality
Resume quality Resume quality
Resume quality
 
Software Quality Factors
Software Quality FactorsSoftware Quality Factors
Software Quality Factors
 
Pertanyaan
PertanyaanPertanyaan
Pertanyaan
 

Recently uploaded

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Recently uploaded (20)

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

Software testing

  • 1.
  • 2. Software testing is a formal process carried out by a specialized testing team in which a software unit, several integrated software units or an entiresoftware package are examined by running the programs on a computer. All the associated tests are performed according to approved test procedures on approved test cases.
  • 3. Software testing (or “testing”) was the first software quality assurance tool applied to control the software product’s quality before its shipment or installation at the customer’s premises.
  • 4. 0 At first, testing was confined to the final stage of development, after the entire package had been completed. 0 Later, as the importance of early detection of software defects penetrated quality assurance concepts, SQA professionals were encouraged to extend testing to the partial in-process products of coding, which led to software module (unit) testing and integration testing. 0 Common to all testing activities is their application through the direct running of code, free of review of development documents. Some authors tend to broaden the scope of testing even further and consider all software life cycle quality assurance activities as types of testing activities.
  • 5. Software Testing Strategies 0 Big bang testing : test the software in its entirety, once the completed package is available; 0 Unit Test : test the software piecemeal, in modules, as they are completed 0 Integration tests : test groups of tested modules integrated with newly completed modules (). 0 Incremental testing : This process continues until all the package modules have been tested. Once this phase is completed, the entire package is tested as a whole (system test).
  • 6. Incremental Testing 0 In top-down testing, the first module tested is the main module, the highest level module in the software structure; the last modules to be tested are the lowest level modules. 0 In bottom-up testing, the order of testing is reversed: the lowest level modules are tested first, with the main module tested last.
  • 7. Software Test Clasifications Classification according to testing concept: 0 Black box (functionality) testing. Identifies bugs only according to software malfunctioning as they are revealed in its erroneous outputs. In cases that the outputs are found to be correct, black box testing disregards the internal path of calculations and processing performed. 0 White box (structural) testing. Examines internal calculation paths in order to identify bugs. Although the term “white” is meant to emphasize the contrast between this method and black box testing, the method’s other name – “glass box testing” – better expresses its basic characteristic, that of investigating the correctness of code structure.
  • 8. Classification according to requirements: 0 Correctness 0 Portability 0 Reliability 0 Reusability 0 Efficiency 0 Interoperability 0 Integrity 0 Usability 0 Maintability 0 Flexibility 0 Testability
  • 9. WHITE BOX TESTING 0 White box testing enables performance of data processing and calculations correctness tests, software qualification tests, maintainability tests and reusability tests. 0 In order to perform data processing and calculation correctness tests (“white box correctness test”), every computational operation in the sequence of operations created by each test case (“path”) must be examined.
  • 10. Data processing and calculation correctness tests Applying the concept of white box testing, which is based on checking the data processing for each test case, immediately raises the question of coverage of a vast number of possible processing paths and the multitudes of lines of code. Two alternative approaches have emerged: 0 “Path coverage” – to plan our test to cover all the possible paths, where coverage is measured by percentage of paths covered. 0 “Line coverage” – to plan our tests to cover all the program code lines, where coverage is measured by percentage of lines covered.
  • 11. Correctness tests and path coverage Different paths in a software module are created by the choice in conditional statements, such as IF–THEN– ELSE or DO WHILE or DO UNTIL. Path testing is motivated by the aspiration to achieve complete coverage of a program by testing all its possible paths.
  • 12. Correctness tests and line coverage The line coverage concept requires that, for full line coverage, every line of code be executed at least once during the process of testing. The line coverage metrics for completeness of a line-testing (“basic path testing”) plan are defined as the percentage of lines indeed executed – that is, covered – during the tests.
  • 13. Black Box Testing 0 Black box testing allows us to perform output correctness tests and most classes of tests. Apart from output correctness tests (if you are prepared to pay the extra costs, these could be performed by white box data processing and calculation correctness tests) and maintainability tests (that could be performed by white box tests), most of the other testing classes are unique to black box testing.