SlideShare a Scribd company logo
Software Reliability &  Software Testing  SE
SE What is 'Software Quality Assurance'?  Software QA involves the entire software development PROCESS - monitoring and improving the process, making sure that all agreed-upon standards and procedures are followed, and ensuring that problems are found and dealt with. It is oriented to 'prevention'.  What is 'Software Testing'?   Testing involves operation of a system or application under controlled conditions and evaluating the results. The controlled conditions should include both normal and abnormal conditions. Testing should intentionally attempt to make things go wrong to determine if things happen when they shouldn't or things don't happen when they should. It is oriented to 'detection'.   SOFTWARE TESTING
SE Testing is a process to execute a program with the    intention of finding an error. Testing demonstrates that software is working    according to the specifications. Testing improves the quality and reliability of a    software. Why Testing ??? (Importance of testing)
SE Black box testing  It is not based on any knowledge of internal design or code. Tests are based on requirements and functionality.  White box testing It is based on the knowledge of the internal logic of an application's code. Tests are based on coverage of code statements, branches, paths, conditions. Unit testing  Smallest unit (module) is tested individually  to test particular functions or code modules. Typically done by the programmer and not by testers, as it requires detailed knowledge of the internal program design and code.  Incremental integration testing  It is used for continuous testing of an application as new functionality is added. It requires that various aspects of an application's functionality be independent enough to work separately before all parts of the program are completed; done by programmers or by testers.  Types of Testing Techniques
SE Integration testing  Testing of combined parts of an application to determine if they function together correctly. The 'parts' can be code modules, individual applications, client and server applications on a network, etc. This type of testing is especially relevant to client/server and distributed systems. Functional testing  Black-box type testing geared to functional requirements of an application; this type of testing should be done by testers. This doesn't mean that the programmers shouldn't check that their code works before releasing it. System testing Black-box type testing that is based on overall requirements specifications; covers all combined parts of a system.  Acceptance testing  Final testing based on specifications of the end-user or customer, or based on use by end-users/customers over some limited period of time.
SE What is a  Test case ?  A test case is a document that describes an input, action or event and an expected result, to determine if a feature of an application is working correctly.  Test cases are the set of inputs to execute the program. A good test case is one that has high probability of finding an error. A successful test is one that uncovers yet-undiscovered error.
SE It is a testing technique that requires explicit    knowledge of the internal workings of the    item being tested. Test cases are design to test all paths, loops,    logical decisions and internal data structure. Major concern here is to ensure that each    statement, path, loop with in the module is    executable. White Box Testing Technique - Example Path Testing Control Structure Testing Loop Testing Internal Data Structure validation
Sample Test Cases… SE Input Set   Expected Output   Actual Output   Num_1=5, Num_2=10   Num_2 is Larger   Num_1=5, Num_2=5   Numbers are Equal   Num_1=10, Num_2=5   Number 1 is Larger   Num_1=a, Num_2=10   Error “Incorrect Format”   Num_1=5, Num_2=a  Error “Incorrect Format”
Description All the paths were forced to execute by given set of inputs. Result: All the paths with in the module are fully functional. (Mention if there was any problem).   SE
Black Box Testing System is treated as a black box, that is nothing is visible from outside. It doesn't explicitly use knowledge of the internal structure or programming.  Test cases are designed to test all functional requirements. What System must do is the major concern here. SE
Black Box Testing Contd…. Test cases are designed to examine  In correct or missing function Error in interface Error in data structure Error in database access Initialization and termination error. SE
Incorrect Function  -  Example Test Case SE int user_login(String,String) Input Set   Expected Output   Actual Output   User_Name=NULL Password=NULL  Display appropriate error message User_Name=Invalid Password=Invalid  Display appropriate error message User_Name=Valid Password=Invalid Display appropriate error message User_Name=Valid Password=NULL  Display appropriate error message User_Name=Valid Password=Valid Display login screen. New screen opens up  Description: Function User_Login(String, String) Result: Mention if there was any problem.
Error in Database Access  Whether connection is created properly or not. Whether records are inserted properly or not. Whether records are deleted properly or not. Whether query is handled properly or not. SE
Path Testing To ensure that all the paths with in the module have been exercised.  Using path testing logical complexity of a program can be derived. Using the programming code a flow graph could be created. Flow graph is used to determine the minimum number of paths that must be tested. SE

More Related Content

PPT
Software Testing Tecniques
PPS
Testing techniques
PPTX
Test design techniques
PPTX
Blackbox
PPT
Taxonomy for bugs
PPT
Black box testing lecture 11
PPT
Black Box Testing
PPTX
Test cases for effective testing - part 1
Software Testing Tecniques
Testing techniques
Test design techniques
Blackbox
Taxonomy for bugs
Black box testing lecture 11
Black Box Testing
Test cases for effective testing - part 1

What's hot (20)

PPTX
Software testing
PDF
Software Testing Techniques: An Overview
PPTX
White box testing
PPTX
Se (techniques for black box testing ppt)
PPTX
Test case writing
PPS
Lesson 2....PPT 1
PDF
Black Box Testing
PPTX
Sorfware engineering presentation (software testing)
PPTX
Black Box Testing
PPTX
WHITE BOX & BLACK BOX TESTING IN DATABASE
PDF
Manual software-testing-interview-questions-with-answers
PPTX
Test scenarios for sending & receiving emails
PPTX
Test cases
PPTX
Testcase definition
PPTX
Effective Software Test Case Design Approach
PPTX
Test Cases Vs Test Scenarios
PPTX
Black box testing - SlideShare jayed hossain jibon
PPTX
Test case techniques
PPT
Testing fundamentals
PDF
Sqa, test scenarios and test cases
Software testing
Software Testing Techniques: An Overview
White box testing
Se (techniques for black box testing ppt)
Test case writing
Lesson 2....PPT 1
Black Box Testing
Sorfware engineering presentation (software testing)
Black Box Testing
WHITE BOX & BLACK BOX TESTING IN DATABASE
Manual software-testing-interview-questions-with-answers
Test scenarios for sending & receiving emails
Test cases
Testcase definition
Effective Software Test Case Design Approach
Test Cases Vs Test Scenarios
Black box testing - SlideShare jayed hossain jibon
Test case techniques
Testing fundamentals
Sqa, test scenarios and test cases
Ad

Viewers also liked (8)

PDF
Laboratorio formez modello di gestione del recupero crediti per le pubbliche ...
PPTX
Starinformation
PPTX
School Technology and Readiness: STaR Chart
PDF
La gestione dei tributi locali in forma associata
PDF
Unione dei Comuni di Spadafora, analisi preliminare di fattibilità istituzion...
PPT
The Power of Visuals Learning 2 talk Nicki Hambleton
PDF
Getting Creative with your iPad
PPTX
Gudstjänst 6 mars 2011 Kärlekens väg
Laboratorio formez modello di gestione del recupero crediti per le pubbliche ...
Starinformation
School Technology and Readiness: STaR Chart
La gestione dei tributi locali in forma associata
Unione dei Comuni di Spadafora, analisi preliminare di fattibilità istituzion...
The Power of Visuals Learning 2 talk Nicki Hambleton
Getting Creative with your iPad
Gudstjänst 6 mars 2011 Kärlekens väg
Ad

Similar to Testing (20)

PPT
Basic software-testing-concepts
PPTX
Software testing
PPTX
Software testing
PPTX
white box and black box testing in software engineering
PPTX
Types of testing
PPTX
https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...
PDF
Testing methodology
PPTX
Software Testing
PPTX
White box & black box testing
PDF
softwaretestingppt-120810095500-phpapp02 (1).pdf
PPTX
softwaretestingpowerpointpresentation.pptx
PPTX
Introduction to testing.
PPTX
Software Testing
PPTX
Software testing (2)
PPTX
Abc of testing
PPTX
softwaretestingppt-FINAL-PPT-1
PPS
Mca se chapter_07_software_validation
PPTX
software testing technique
PPTX
Software testing
Basic software-testing-concepts
Software testing
Software testing
white box and black box testing in software engineering
Types of testing
https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...
Testing methodology
Software Testing
White box & black box testing
softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingpowerpointpresentation.pptx
Introduction to testing.
Software Testing
Software testing (2)
Abc of testing
softwaretestingppt-FINAL-PPT-1
Mca se chapter_07_software_validation
software testing technique
Software testing

Recently uploaded (20)

PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
The various Industrial Revolutions .pptx
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Modernising the Digital Integration Hub
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
project resource management chapter-09.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
STKI Israel Market Study 2025 version august
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
Tartificialntelligence_presentation.pptx
A contest of sentiment analysis: k-nearest neighbor versus neural network
WOOl fibre morphology and structure.pdf for textiles
Programs and apps: productivity, graphics, security and other tools
The various Industrial Revolutions .pptx
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
1. Introduction to Computer Programming.pptx
Modernising the Digital Integration Hub
Zenith AI: Advanced Artificial Intelligence
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
project resource management chapter-09.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Group 1 Presentation -Planning and Decision Making .pptx
Chapter 5: Probability Theory and Statistics
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
STKI Israel Market Study 2025 version august
OMC Textile Division Presentation 2021.pptx
observCloud-Native Containerability and monitoring.pptx
Module 1.ppt Iot fundamentals and Architecture
Tartificialntelligence_presentation.pptx

Testing

  • 1. Software Reliability & Software Testing SE
  • 2. SE What is 'Software Quality Assurance'? Software QA involves the entire software development PROCESS - monitoring and improving the process, making sure that all agreed-upon standards and procedures are followed, and ensuring that problems are found and dealt with. It is oriented to 'prevention'. What is 'Software Testing'? Testing involves operation of a system or application under controlled conditions and evaluating the results. The controlled conditions should include both normal and abnormal conditions. Testing should intentionally attempt to make things go wrong to determine if things happen when they shouldn't or things don't happen when they should. It is oriented to 'detection'. SOFTWARE TESTING
  • 3. SE Testing is a process to execute a program with the intention of finding an error. Testing demonstrates that software is working according to the specifications. Testing improves the quality and reliability of a software. Why Testing ??? (Importance of testing)
  • 4. SE Black box testing It is not based on any knowledge of internal design or code. Tests are based on requirements and functionality. White box testing It is based on the knowledge of the internal logic of an application's code. Tests are based on coverage of code statements, branches, paths, conditions. Unit testing Smallest unit (module) is tested individually to test particular functions or code modules. Typically done by the programmer and not by testers, as it requires detailed knowledge of the internal program design and code. Incremental integration testing It is used for continuous testing of an application as new functionality is added. It requires that various aspects of an application's functionality be independent enough to work separately before all parts of the program are completed; done by programmers or by testers. Types of Testing Techniques
  • 5. SE Integration testing Testing of combined parts of an application to determine if they function together correctly. The 'parts' can be code modules, individual applications, client and server applications on a network, etc. This type of testing is especially relevant to client/server and distributed systems. Functional testing Black-box type testing geared to functional requirements of an application; this type of testing should be done by testers. This doesn't mean that the programmers shouldn't check that their code works before releasing it. System testing Black-box type testing that is based on overall requirements specifications; covers all combined parts of a system. Acceptance testing Final testing based on specifications of the end-user or customer, or based on use by end-users/customers over some limited period of time.
  • 6. SE What is a Test case ? A test case is a document that describes an input, action or event and an expected result, to determine if a feature of an application is working correctly. Test cases are the set of inputs to execute the program. A good test case is one that has high probability of finding an error. A successful test is one that uncovers yet-undiscovered error.
  • 7. SE It is a testing technique that requires explicit knowledge of the internal workings of the item being tested. Test cases are design to test all paths, loops, logical decisions and internal data structure. Major concern here is to ensure that each statement, path, loop with in the module is executable. White Box Testing Technique - Example Path Testing Control Structure Testing Loop Testing Internal Data Structure validation
  • 8. Sample Test Cases… SE Input Set Expected Output Actual Output Num_1=5, Num_2=10 Num_2 is Larger Num_1=5, Num_2=5 Numbers are Equal Num_1=10, Num_2=5 Number 1 is Larger Num_1=a, Num_2=10 Error “Incorrect Format” Num_1=5, Num_2=a Error “Incorrect Format”
  • 9. Description All the paths were forced to execute by given set of inputs. Result: All the paths with in the module are fully functional. (Mention if there was any problem).   SE
  • 10. Black Box Testing System is treated as a black box, that is nothing is visible from outside. It doesn't explicitly use knowledge of the internal structure or programming. Test cases are designed to test all functional requirements. What System must do is the major concern here. SE
  • 11. Black Box Testing Contd…. Test cases are designed to examine In correct or missing function Error in interface Error in data structure Error in database access Initialization and termination error. SE
  • 12. Incorrect Function - Example Test Case SE int user_login(String,String) Input Set Expected Output Actual Output User_Name=NULL Password=NULL Display appropriate error message User_Name=Invalid Password=Invalid Display appropriate error message User_Name=Valid Password=Invalid Display appropriate error message User_Name=Valid Password=NULL Display appropriate error message User_Name=Valid Password=Valid Display login screen. New screen opens up Description: Function User_Login(String, String) Result: Mention if there was any problem.
  • 13. Error in Database Access Whether connection is created properly or not. Whether records are inserted properly or not. Whether records are deleted properly or not. Whether query is handled properly or not. SE
  • 14. Path Testing To ensure that all the paths with in the module have been exercised. Using path testing logical complexity of a program can be derived. Using the programming code a flow graph could be created. Flow graph is used to determine the minimum number of paths that must be tested. SE