SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Software Engineering (2160701)
VADODARA INSTITUTE OF ENGINEERING
ACTIVE LEARNING ASSIGNMENT
Presented By:
Kashyap Patel 150800107046
Krishna Patel 150800107047
Maitree Patel 150800107048
TOPIC :Testing techniques, Test case, Test suites design,
Testing Conventional Applications
Contents
Testing techniques
– White box testing
– Black box testing
Test case
– What is Test case?
– Typical Test Case Parameters
– Test Case Example
Test suites design
Testing Conventional Applications
– Unit testing
– Integration testing
Testing Techniques
• Tests can be conducted based on two approaches –
1. Functionality testing
2. Implementation testing
•.When functionality is being tested without taking the actual implementation in
concern it is known as black-box testing. The other side is known as white-box
testing where not only functionality is tested but the way it is implemented is also
analyzed.
•.Exhaustive tests are the best-desired method for a perfect testing. Every single
possible value in the range of the input and output values is tested. It is not
possible to test each and every value in real world scenario if the range of values
is large.
Black Box Testing
• It is carried out to test functionality of the program. It is also called ‘Behavioral’
testing.
• The tester in this case, has a set of input values and respective desired results. On
providing input, if the output matches with the desired results, the program is
tested ‘ok’, and problematic otherwise.
• In this testing method, the design and structure of the code are not known to the
tester, and testing engineers and end users conduct this test on the software.
Black Box Testing
Black-box testing techniques:
• Equivalence class - The input is divided into similar classes. If one element of a class
passes the test, it is assumed that all the class is passed.
• Boundary values - The input is divided into higher and lower end values. If these values
pass the test, it is assumed that all values in between may pass too.
• Cause-effect graphing - Cause (input) – Effect (output) is a testing technique where
combinations of input values are tested in a systematic way.
• Pair-wise Testing - In pairwise testing, the multiple parameters are tested pair-wise for their
different values.
• State-based testing - The system changes state on provision of input. These systems are
tested based on their states and input.
White-box Testing
• It is conducted to test program and its implementation, in order to
improve code efficiency or structure. It is also known as ‘Structural’
testing.
• In this testing method, the design and structure of the code are
known to the tester. Programmers of the code conduct this test on
the code.
White-box Testing
The below are some White-box testing techniques:
• Control-flow testing - The purpose of the control-flow testing to set up test cases
which covers all statements and branch conditions. The branch conditions are
tested for both being true and false, so that all statements can be covered.
• Data-flow testing - This testing technique emphasis to cover all the data variables
included in the program. It tests where the variables were declared and defined
and where they were used or changed.
Test Case
What is Test Case ?
• A test case is a set of conditions or variables under which a tester will determine
whether a system under test satisfies requirements or works correctly.
• The process of developing test cases can also help find problems in the
requirements or design of an application.
• A test case is a document, which has a set of test data, preconditions, expected
results and postconditions, developed for a particular test scenario in order to
verify compliance against a specific requirement.
• Test Case acts as the starting point for the test execution, and after applying a set of
input values, the application has a definitive outcome and leaves the system at
some end point or also known as execution postcondition.
Test Case Parameters
• Test Case ID
• Test Scenario
• Test Case Description
• Test Steps
• Prerequisite
• Test Data
• Expected Result
• Test Parameters
• Actual Result
• Environment Information
• Comments
Test Case Parameters
• Let us say that we need to check an input field that can accept maximum of 10
characters.
• While developing the test cases for the above scenario, the test cases are
documented the following way. In the below example, the first case is a pass
scenario while the second case is a FAIL.
Scenario Test Step Expected Result Actual Outcome
Verify that the input
field that can accept
maximum of 10
characters
Login to application
and key in 10
characters
Application should be
able to accept all 10
characters.
Application accepts all
10 characters.
Verify that the input
field that can accept
maximum of 11
characters
Login to application
and key in 11
characters
Application should NOT
accept all 11
characters.
Application accepts all
10 characters.
Test Suits Design
What is a Test Suite?
• Test suite is a container that has a set of tests which helps testers in executing and
reporting the test execution status. It can take any of the three states namely
Active, In progress and completed.
• A Test case can be added to multiple test suites and test plans. After creating a test
plan, test suites are created which in turn can have any number of tests.
• Test suites are created based on the cycle or based on the scope. It can contain any
type of tests, viz - functional or Non-Functional.
Test Suite - Diagram
Testing Conventional Applications
The following characteristics lead to testable software.
Operability
• “The better it works, the more efficiently it can test.”
• If a system designed and implemented with quality in mind, relatively few bugs will block
the execution of tests, allowing testing to progress without fits and starts.
Observability  
• “What you see is what you test.”
• Moreover, Inputs provided as part of testing produce distinct outputs.
• Also, System states and variables visible or queriable during execution. An incorrect
output easily identified. Internal errors are automatically detected and reported. The source
code accessible.
Testing Conventional Applications
Controllability
• “The better we can control the software, the more the testing can automate and optimized.”
• All possible outputs can generate through some combination of input, and I/O formats
consistent and structured.
• Moreover, All code executable through some combination of input. Software and hardware
states and variables can be controlled directly by the test engineer.
• Also, Tests can conveniently specified, automated, and reproduced.
Decomposability
• “By controlling the scope of testing, we can more quickly isolate problems and perform
smarter retesting.”
• The software system built from independent modules that can test independently.
Testing Conventional Applications
Simplicity
• “The less there to test, the more quickly we can test it.”
• Also, The program should exhibit functional simplicity (e.g., the feature set the
minimum necessary to meet requirements); structural simplicity (e.g., architecture
modularized to limit the propagation of faults), and code simplicity (e.g., a coding
standard is adopted for ease of inspection and maintenance).
Stability
• “The fewer the changes, the fewer the disruptions to testing.”
• Moreover, Changes to the software infrequent, controlled when they do occur, and do
not invalidate existing tests.
• Also, The software recovers well from failures.
Testing Conventional Applications
Understandability
• “The more information we have, the smarter we will test.”
• Moreover, The architectural design and the dependencies between internal,
external, and shared components well understood.
• Similarly, Technical documentation instantly accessible, well organized, specific
and detailed, and accurate. Changes to the design communicated to testers.
Testing Conventional Applications
Unit Testing
• While coding, the programmer performs some tests on that unit of program to
know if it is error free.
• Testing is performed under white-box testing approach. Unit testing helps
developers decide that individual units of the program are working as per
requirement and are error free.
Integration Testing
• Even if the units of software are working fine individually, there is a need to find
out if the units if integrated together would also work without errors. For example,
argument passing and data updating etc.
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (19)

Whitepaper Test Case Design and Testing Techniques- Factors to Consider
Whitepaper Test Case Design and Testing Techniques- Factors to ConsiderWhitepaper Test Case Design and Testing Techniques- Factors to Consider
Whitepaper Test Case Design and Testing Techniques- Factors to Consider
 
Chapter 14 software testing techniques
Chapter 14 software testing techniquesChapter 14 software testing techniques
Chapter 14 software testing techniques
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
 
Software Testing (Contd..) SDLC Model
Software Testing (Contd..) SDLC ModelSoftware Testing (Contd..) SDLC Model
Software Testing (Contd..) SDLC Model
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
 
An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing
 
H testing and debugging
H testing and debuggingH testing and debugging
H testing and debugging
 
Testing
TestingTesting
Testing
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 
software testing
software testingsoftware testing
software testing
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
12 functional-system-testing
12 functional-system-testing12 functional-system-testing
12 functional-system-testing
 
Fundamental Test Process New
Fundamental Test Process NewFundamental Test Process New
Fundamental Test Process New
 
Test cases
Test casesTest cases
Test cases
 
Test Techniques
Test TechniquesTest Techniques
Test Techniques
 
Testing
TestingTesting
Testing
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 

Ähnlich wie SE Software Testing Techniques

Software testing part
Software testing partSoftware testing part
Software testing partPreeti Mishra
 
Lect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxLect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxabdullahsaddique2
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146vidhyyav
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfFarjanaParvin5
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...ShudipPal
 
Fundamentals of software 2 | Test Case | Test Suite | Test Plan | Test Scenario
Fundamentals of software 2 | Test Case | Test Suite | Test Plan | Test ScenarioFundamentals of software 2 | Test Case | Test Suite | Test Plan | Test Scenario
Fundamentals of software 2 | Test Case | Test Suite | Test Plan | Test ScenarioSiddharth Sharma
 
Dynamic analysis in Software Testing
Dynamic analysis in Software TestingDynamic analysis in Software Testing
Dynamic analysis in Software TestingSagar Pednekar
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbjeyasrig
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesPunjab University
 
DISE - Software Testing and Quality Management
DISE - Software Testing and Quality ManagementDISE - Software Testing and Quality Management
DISE - Software Testing and Quality ManagementRasan Samarasinghe
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technologyHasam Panezai
 

Ähnlich wie SE Software Testing Techniques (20)

Software testing part
Software testing partSoftware testing part
Software testing part
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Lect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxLect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptx
 
Black box testing
Black box testingBlack box testing
Black box testing
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdf
 
Software testing
Software testingSoftware testing
Software testing
 
ISTQB foundation level - day 2
ISTQB foundation level - day 2ISTQB foundation level - day 2
ISTQB foundation level - day 2
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
 
L software testing
L   software testingL   software testing
L software testing
 
Fundamentals of software 2 | Test Case | Test Suite | Test Plan | Test Scenario
Fundamentals of software 2 | Test Case | Test Suite | Test Plan | Test ScenarioFundamentals of software 2 | Test Case | Test Suite | Test Plan | Test Scenario
Fundamentals of software 2 | Test Case | Test Suite | Test Plan | Test Scenario
 
Software testing
Software testingSoftware testing
Software testing
 
Testing
TestingTesting
Testing
 
Dynamic analysis in Software Testing
Dynamic analysis in Software TestingDynamic analysis in Software Testing
Dynamic analysis in Software Testing
 
testing
testingtesting
testing
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
 
Software Testing
Software Testing Software Testing
Software Testing
 
DISE - Software Testing and Quality Management
DISE - Software Testing and Quality ManagementDISE - Software Testing and Quality Management
DISE - Software Testing and Quality Management
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technology
 

Mehr von Maitree Patel

MACs based on Hash Functions, MACs based on Block Ciphers
MACs based on Hash Functions, MACs based on Block CiphersMACs based on Hash Functions, MACs based on Block Ciphers
MACs based on Hash Functions, MACs based on Block CiphersMaitree Patel
 
Form using html and java script validation
Form using html and java script validationForm using html and java script validation
Form using html and java script validationMaitree Patel
 
Introduction of Memory Management
Introduction of Memory Management Introduction of Memory Management
Introduction of Memory Management Maitree Patel
 
Scheduling Definition, objectives and types
Scheduling Definition, objectives and types Scheduling Definition, objectives and types
Scheduling Definition, objectives and types Maitree Patel
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer ProtocolMaitree Patel
 
Virtual circuit and Datagram network
Virtual circuit and Datagram networkVirtual circuit and Datagram network
Virtual circuit and Datagram networkMaitree Patel
 
Gauss Quadrature Formula
Gauss Quadrature FormulaGauss Quadrature Formula
Gauss Quadrature FormulaMaitree Patel
 
Merge sort and Quick sort
Merge sort and Quick sortMerge sort and Quick sort
Merge sort and Quick sortMaitree Patel
 
Static Import and access modifiers
Static Import and access modifiersStatic Import and access modifiers
Static Import and access modifiersMaitree Patel
 

Mehr von Maitree Patel (11)

MACs based on Hash Functions, MACs based on Block Ciphers
MACs based on Hash Functions, MACs based on Block CiphersMACs based on Hash Functions, MACs based on Block Ciphers
MACs based on Hash Functions, MACs based on Block Ciphers
 
Form using html and java script validation
Form using html and java script validationForm using html and java script validation
Form using html and java script validation
 
Dotnet :Attributes
Dotnet :AttributesDotnet :Attributes
Dotnet :Attributes
 
Advance Java
Advance JavaAdvance Java
Advance Java
 
Introduction of Memory Management
Introduction of Memory Management Introduction of Memory Management
Introduction of Memory Management
 
Scheduling Definition, objectives and types
Scheduling Definition, objectives and types Scheduling Definition, objectives and types
Scheduling Definition, objectives and types
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Virtual circuit and Datagram network
Virtual circuit and Datagram networkVirtual circuit and Datagram network
Virtual circuit and Datagram network
 
Gauss Quadrature Formula
Gauss Quadrature FormulaGauss Quadrature Formula
Gauss Quadrature Formula
 
Merge sort and Quick sort
Merge sort and Quick sortMerge sort and Quick sort
Merge sort and Quick sort
 
Static Import and access modifiers
Static Import and access modifiersStatic Import and access modifiers
Static Import and access modifiers
 

Kürzlich hochgeladen

Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 

Kürzlich hochgeladen (20)

Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 

SE Software Testing Techniques

  • 1. Software Engineering (2160701) VADODARA INSTITUTE OF ENGINEERING ACTIVE LEARNING ASSIGNMENT Presented By: Kashyap Patel 150800107046 Krishna Patel 150800107047 Maitree Patel 150800107048 TOPIC :Testing techniques, Test case, Test suites design, Testing Conventional Applications
  • 2. Contents Testing techniques – White box testing – Black box testing Test case – What is Test case? – Typical Test Case Parameters – Test Case Example Test suites design Testing Conventional Applications – Unit testing – Integration testing
  • 3. Testing Techniques • Tests can be conducted based on two approaches – 1. Functionality testing 2. Implementation testing •.When functionality is being tested without taking the actual implementation in concern it is known as black-box testing. The other side is known as white-box testing where not only functionality is tested but the way it is implemented is also analyzed. •.Exhaustive tests are the best-desired method for a perfect testing. Every single possible value in the range of the input and output values is tested. It is not possible to test each and every value in real world scenario if the range of values is large.
  • 4. Black Box Testing • It is carried out to test functionality of the program. It is also called ‘Behavioral’ testing. • The tester in this case, has a set of input values and respective desired results. On providing input, if the output matches with the desired results, the program is tested ‘ok’, and problematic otherwise. • In this testing method, the design and structure of the code are not known to the tester, and testing engineers and end users conduct this test on the software.
  • 5. Black Box Testing Black-box testing techniques: • Equivalence class - The input is divided into similar classes. If one element of a class passes the test, it is assumed that all the class is passed. • Boundary values - The input is divided into higher and lower end values. If these values pass the test, it is assumed that all values in between may pass too. • Cause-effect graphing - Cause (input) – Effect (output) is a testing technique where combinations of input values are tested in a systematic way. • Pair-wise Testing - In pairwise testing, the multiple parameters are tested pair-wise for their different values. • State-based testing - The system changes state on provision of input. These systems are tested based on their states and input.
  • 6. White-box Testing • It is conducted to test program and its implementation, in order to improve code efficiency or structure. It is also known as ‘Structural’ testing. • In this testing method, the design and structure of the code are known to the tester. Programmers of the code conduct this test on the code.
  • 7. White-box Testing The below are some White-box testing techniques: • Control-flow testing - The purpose of the control-flow testing to set up test cases which covers all statements and branch conditions. The branch conditions are tested for both being true and false, so that all statements can be covered. • Data-flow testing - This testing technique emphasis to cover all the data variables included in the program. It tests where the variables were declared and defined and where they were used or changed.
  • 8. Test Case What is Test Case ? • A test case is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements or works correctly. • The process of developing test cases can also help find problems in the requirements or design of an application. • A test case is a document, which has a set of test data, preconditions, expected results and postconditions, developed for a particular test scenario in order to verify compliance against a specific requirement. • Test Case acts as the starting point for the test execution, and after applying a set of input values, the application has a definitive outcome and leaves the system at some end point or also known as execution postcondition.
  • 9. Test Case Parameters • Test Case ID • Test Scenario • Test Case Description • Test Steps • Prerequisite • Test Data • Expected Result • Test Parameters • Actual Result • Environment Information • Comments
  • 10. Test Case Parameters • Let us say that we need to check an input field that can accept maximum of 10 characters. • While developing the test cases for the above scenario, the test cases are documented the following way. In the below example, the first case is a pass scenario while the second case is a FAIL. Scenario Test Step Expected Result Actual Outcome Verify that the input field that can accept maximum of 10 characters Login to application and key in 10 characters Application should be able to accept all 10 characters. Application accepts all 10 characters. Verify that the input field that can accept maximum of 11 characters Login to application and key in 11 characters Application should NOT accept all 11 characters. Application accepts all 10 characters.
  • 11. Test Suits Design What is a Test Suite? • Test suite is a container that has a set of tests which helps testers in executing and reporting the test execution status. It can take any of the three states namely Active, In progress and completed. • A Test case can be added to multiple test suites and test plans. After creating a test plan, test suites are created which in turn can have any number of tests. • Test suites are created based on the cycle or based on the scope. It can contain any type of tests, viz - functional or Non-Functional.
  • 12. Test Suite - Diagram
  • 13. Testing Conventional Applications The following characteristics lead to testable software. Operability • “The better it works, the more efficiently it can test.” • If a system designed and implemented with quality in mind, relatively few bugs will block the execution of tests, allowing testing to progress without fits and starts. Observability   • “What you see is what you test.” • Moreover, Inputs provided as part of testing produce distinct outputs. • Also, System states and variables visible or queriable during execution. An incorrect output easily identified. Internal errors are automatically detected and reported. The source code accessible.
  • 14. Testing Conventional Applications Controllability • “The better we can control the software, the more the testing can automate and optimized.” • All possible outputs can generate through some combination of input, and I/O formats consistent and structured. • Moreover, All code executable through some combination of input. Software and hardware states and variables can be controlled directly by the test engineer. • Also, Tests can conveniently specified, automated, and reproduced. Decomposability • “By controlling the scope of testing, we can more quickly isolate problems and perform smarter retesting.” • The software system built from independent modules that can test independently.
  • 15. Testing Conventional Applications Simplicity • “The less there to test, the more quickly we can test it.” • Also, The program should exhibit functional simplicity (e.g., the feature set the minimum necessary to meet requirements); structural simplicity (e.g., architecture modularized to limit the propagation of faults), and code simplicity (e.g., a coding standard is adopted for ease of inspection and maintenance). Stability • “The fewer the changes, the fewer the disruptions to testing.” • Moreover, Changes to the software infrequent, controlled when they do occur, and do not invalidate existing tests. • Also, The software recovers well from failures.
  • 16. Testing Conventional Applications Understandability • “The more information we have, the smarter we will test.” • Moreover, The architectural design and the dependencies between internal, external, and shared components well understood. • Similarly, Technical documentation instantly accessible, well organized, specific and detailed, and accurate. Changes to the design communicated to testers.
  • 17. Testing Conventional Applications Unit Testing • While coding, the programmer performs some tests on that unit of program to know if it is error free. • Testing is performed under white-box testing approach. Unit testing helps developers decide that individual units of the program are working as per requirement and are error free. Integration Testing • Even if the units of software are working fine individually, there is a need to find out if the units if integrated together would also work without errors. For example, argument passing and data updating etc.

Hinweis der Redaktion

  1. <number>