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
 
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
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assuranceTOPS Technologies
 

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
 
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
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
 

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

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Recently uploaded (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

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.