SlideShare ist ein Scribd-Unternehmen logo
1 von 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.

Weitere Àhnliche Inhalte

Was ist angesagt?

Software testing (strategies)
Software testing (strategies)Software testing (strategies)
Software testing (strategies)
Luthfia Ulinnuha
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniques
Fincy V.J
 
Quality assurance tests
Quality assurance testsQuality assurance tests
Quality assurance tests
amitzore
 
12 functional-system-testing
12 functional-system-testing12 functional-system-testing
12 functional-system-testing
nickynicks76
 

Was ist angesagt? (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
 

Ähnlich wie Software testing

Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
Nishant Worah
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
Rana Muhammad Asif
 
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
keturahhazelhurst
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Concepts
mqamarhayat
 
Manual Testing Questions
Manual Testing QuestionsManual Testing Questions
Manual Testing Questions
User1test
 

Ähnlich wie 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
 

Mehr von 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
 

KĂŒrzlich hochgeladen

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

KĂŒrzlich hochgeladen (20)

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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

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.