SlideShare une entreprise Scribd logo
1  sur  21
Effective Test Cases &
Introduction to Hexawise
By
Nilenth Selvaraja
What is aTest Case?
IEEE Standard 610 (1990) defines test case as follows:
“A set of test inputs, execution conditions, and expected results developed for
a particular objective, such as to exercise a particular program path or to verify
compliance with a specific requirement.”
Also (IEEE Standard 829-1983) defines it as
“ Documentation specifying inputs, predicted results, and a set of execution
conditions for a test item.”
Ron Patton (2001, p. 65)
“Test cases are the specific inputs that you’ll try and the procedures that you’ll
follow when you test the software.”
Characteristics of EffectiveTest Cases
• Title is short and descriptive.
• Test case corresponds with the requirements.
• Preconditions, steps and expected results are as transparent as possible.
• Test case supports maintaining, update and can be re-used in the future.
Most Important of all
• Covering the most area of testing with less number of test cases.
Factors affecting test-case effectiveness
How to correct factors effecting test case
effectiveness
• Verify completeness of test specifications which can be done by
revisiting and revising functional specifications, which results in
revising test case specifications.
• Verify coverage of test-cases by the use of traceability matrix to
meet coverage needs of the project – ensures that test cases meet
business rule.
• Understand reasons for missed defects & training testers on proper
way to execute tests and verifying test results.
• Using tools that are helpful to cover a maximum area with less test
cases.
What is Hexawise?
Some of the most challenging questions testing teams are asked include:
• Are we testing enough?
• Are we testing too much?
• What is the level of testing coverage these tests achieve?
• What if we get extremely pressed for time…What level of coverage could we
achieve in half as many tests as we have planned?
Hexawise is a test designing tool which allows you to visualize testing coverage
more precisely.
Why use Hexawise?
• Hexawise is mainly used to select test conditions and document test scripts.
• Hexawise also improves test execution efficiency and effectiveness.The tests you
generate with Hexawise are more powerful than the tests you would select by
hand.
• Tests generated using Hexawise are optimized to:
-Be varied as possible.
-Minimize wasteful repetition.
-Maximize test coverage in a manageable number of tests.
DEMO
• Sign up, Log in & creating a new plan
• Marking valid and invalid pairs
• Create tests
• Analyze tests feature
• Export tests
• Auto Script feature
• Copy & Share Plans
UNDERSTANDING INTERACTIONS
Each of the end points on this mind map (like “Fast”
and
“Spin”) are parameter values.
In Hexawise it’s represented this way
What is 2 way interactions?
When you click on the “Create Tests” button
Hexawise generates a set of 2-way tests that
contains every single pair of those test
parameter values in at least one of the tests.
Every single pair of parameter values appears
together
in at least one of these six test cases:
It is an extremely efficient way to find defects given that:
• Studies show that 84% of defects in production could have been
found by testing for every pair of parameter values and
• 2-way coverage can be achieved in a relatively small number of tests.
But what about coverage of
combinations involving 3 or more
parameter values?
• Sometimes, a specific combination of 3 values will be included in your
set of 2-way tests.
• Other times, combinations of 3 values will not be included in your set of
tests.
Let’s look at a few examples.
These 3-way tests contain at least one
test for every triple.
Studies show that 95% of defects in production could have been
found by testing using 3-way coverage.
THANK YOU!

Contenu connexe

Tendances

Understanding statistics in laboratory quality control
Understanding statistics in laboratory quality controlUnderstanding statistics in laboratory quality control
Understanding statistics in laboratory quality control
Randox
 
Exploring Best Practises in Design of Experiments
Exploring Best Practises in Design of ExperimentsExploring Best Practises in Design of Experiments
Exploring Best Practises in Design of Experiments
JMP software from SAS
 

Tendances (20)

Basic Design of Experiments Using the Custom DOE Platform
Basic Design of Experiments Using the Custom DOE PlatformBasic Design of Experiments Using the Custom DOE Platform
Basic Design of Experiments Using the Custom DOE Platform
 
Understanding statistics in laboratory quality control
Understanding statistics in laboratory quality controlUnderstanding statistics in laboratory quality control
Understanding statistics in laboratory quality control
 
Uncertainity in Measurement
Uncertainity in MeasurementUncertainity in Measurement
Uncertainity in Measurement
 
The uncertainty of measurements
The uncertainty of measurementsThe uncertainty of measurements
The uncertainty of measurements
 
Troubleshooting Poor EQA/QC Performance in the Laboratory
Troubleshooting Poor EQA/QC Performance in the Laboratory Troubleshooting Poor EQA/QC Performance in the Laboratory
Troubleshooting Poor EQA/QC Performance in the Laboratory
 
Test framing(sqa)
Test framing(sqa)Test framing(sqa)
Test framing(sqa)
 
Cause and effect analysis
Cause and effect analysisCause and effect analysis
Cause and effect analysis
 
Performance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutionsPerformance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutions
 
Testing of hypothesis case study
Testing of hypothesis case study Testing of hypothesis case study
Testing of hypothesis case study
 
Darshan Desai - Virtual Test Labs,The Next Frontier - EuroSTAR 2010
Darshan Desai - Virtual Test Labs,The Next Frontier - EuroSTAR 2010Darshan Desai - Virtual Test Labs,The Next Frontier - EuroSTAR 2010
Darshan Desai - Virtual Test Labs,The Next Frontier - EuroSTAR 2010
 
Fishbone diagam guide
Fishbone diagam guideFishbone diagam guide
Fishbone diagam guide
 
Compiling Analysis Results
Compiling Analysis ResultsCompiling Analysis Results
Compiling Analysis Results
 
Fantastic Tests - The Crimes of Bad Test Design
Fantastic Tests - The Crimes of Bad Test DesignFantastic Tests - The Crimes of Bad Test Design
Fantastic Tests - The Crimes of Bad Test Design
 
Proman
PromanProman
Proman
 
Within the quantitative methodological approach are several research
Within the quantitative methodological approach are several researchWithin the quantitative methodological approach are several research
Within the quantitative methodological approach are several research
 
Exploring Best Practises in Design of Experiments
Exploring Best Practises in Design of ExperimentsExploring Best Practises in Design of Experiments
Exploring Best Practises in Design of Experiments
 
Countries’ presentation on internal quality control: Indonesia
Countries’ presentation on internal quality control: IndonesiaCountries’ presentation on internal quality control: Indonesia
Countries’ presentation on internal quality control: Indonesia
 
Machine Learning for Product Managers
Machine Learning for Product ManagersMachine Learning for Product Managers
Machine Learning for Product Managers
 
Acceptance sampling
Acceptance samplingAcceptance sampling
Acceptance sampling
 
Fish Bone Diagram
Fish Bone DiagramFish Bone Diagram
Fish Bone Diagram
 

Similaire à Effective Test Cases & Introduction to Hexawise

A Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test EffectivenessA Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test Effectiveness
Shradha Singh
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
Oksana
 
Best Practices for Test Case Writing
Best Practices for Test Case WritingBest Practices for Test Case Writing
Best Practices for Test Case Writing
Sarah Goldberg
 
Test data documentation ss
Test data documentation ssTest data documentation ss
Test data documentation ss
AshwiniPoloju
 
Regression Optimizer
Regression OptimizerRegression Optimizer
Regression Optimizer
Shradha Singh
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
Yogindernath Gupta
 

Similaire à Effective Test Cases & Introduction to Hexawise (20)

Whole test suite generation
Whole test suite generationWhole test suite generation
Whole test suite generation
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
 
A Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test EffectivenessA Productive Method for Improving Test Effectiveness
A Productive Method for Improving Test Effectiveness
 
Combinatorial testing ppt
Combinatorial testing pptCombinatorial testing ppt
Combinatorial testing ppt
 
Unit2 for st
Unit2 for stUnit2 for st
Unit2 for st
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Sta unit 5(abimanyu)
Sta unit 5(abimanyu)Sta unit 5(abimanyu)
Sta unit 5(abimanyu)
 
Best Practices for Test Case Writing
Best Practices for Test Case WritingBest Practices for Test Case Writing
Best Practices for Test Case Writing
 
Software testing part
Software testing partSoftware testing part
Software testing part
 
Implementing test scripting Ian McDonald updated (minor changes) 26-04-2013
Implementing test scripting   Ian McDonald updated (minor changes) 26-04-2013Implementing test scripting   Ian McDonald updated (minor changes) 26-04-2013
Implementing test scripting Ian McDonald updated (minor changes) 26-04-2013
 
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsTest automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
 
Test data documentation ss
Test data documentation ssTest data documentation ss
Test data documentation ss
 
Regression Optimizer
Regression OptimizerRegression Optimizer
Regression Optimizer
 
Testing
TestingTesting
Testing
 
software testing
software testingsoftware testing
software testing
 
How to Actually DO High-volume Automated Testing
How to Actually DO High-volume Automated TestingHow to Actually DO High-volume Automated Testing
How to Actually DO High-volume Automated Testing
 
Fundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxFundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptx
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notes
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
St all about test case-p3
St all about test case-p3St all about test case-p3
St all about test case-p3
 

Dernier

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 

Dernier (20)

WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 

Effective Test Cases & Introduction to Hexawise

  • 1. Effective Test Cases & Introduction to Hexawise By Nilenth Selvaraja
  • 2. What is aTest Case? IEEE Standard 610 (1990) defines test case as follows: “A set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.” Also (IEEE Standard 829-1983) defines it as “ Documentation specifying inputs, predicted results, and a set of execution conditions for a test item.” Ron Patton (2001, p. 65) “Test cases are the specific inputs that you’ll try and the procedures that you’ll follow when you test the software.”
  • 3. Characteristics of EffectiveTest Cases • Title is short and descriptive. • Test case corresponds with the requirements. • Preconditions, steps and expected results are as transparent as possible. • Test case supports maintaining, update and can be re-used in the future. Most Important of all • Covering the most area of testing with less number of test cases.
  • 5. How to correct factors effecting test case effectiveness • Verify completeness of test specifications which can be done by revisiting and revising functional specifications, which results in revising test case specifications. • Verify coverage of test-cases by the use of traceability matrix to meet coverage needs of the project – ensures that test cases meet business rule. • Understand reasons for missed defects & training testers on proper way to execute tests and verifying test results. • Using tools that are helpful to cover a maximum area with less test cases.
  • 6.
  • 7. What is Hexawise? Some of the most challenging questions testing teams are asked include: • Are we testing enough? • Are we testing too much? • What is the level of testing coverage these tests achieve? • What if we get extremely pressed for time…What level of coverage could we achieve in half as many tests as we have planned? Hexawise is a test designing tool which allows you to visualize testing coverage more precisely.
  • 8. Why use Hexawise? • Hexawise is mainly used to select test conditions and document test scripts. • Hexawise also improves test execution efficiency and effectiveness.The tests you generate with Hexawise are more powerful than the tests you would select by hand. • Tests generated using Hexawise are optimized to: -Be varied as possible. -Minimize wasteful repetition. -Maximize test coverage in a manageable number of tests.
  • 9. DEMO • Sign up, Log in & creating a new plan • Marking valid and invalid pairs • Create tests • Analyze tests feature • Export tests • Auto Script feature • Copy & Share Plans
  • 11. Each of the end points on this mind map (like “Fast” and “Spin”) are parameter values.
  • 12. In Hexawise it’s represented this way
  • 13. What is 2 way interactions? When you click on the “Create Tests” button Hexawise generates a set of 2-way tests that contains every single pair of those test parameter values in at least one of the tests.
  • 14. Every single pair of parameter values appears together in at least one of these six test cases:
  • 15.
  • 16. It is an extremely efficient way to find defects given that: • Studies show that 84% of defects in production could have been found by testing for every pair of parameter values and • 2-way coverage can be achieved in a relatively small number of tests.
  • 17. But what about coverage of combinations involving 3 or more parameter values? • Sometimes, a specific combination of 3 values will be included in your set of 2-way tests. • Other times, combinations of 3 values will not be included in your set of tests. Let’s look at a few examples.
  • 18.
  • 19. These 3-way tests contain at least one test for every triple.
  • 20. Studies show that 95% of defects in production could have been found by testing using 3-way coverage.