Home Page Icon
Home Page
Table of Contents for
Title Page
Close
Title Page
by Attila Kovács, István Forgács
Practical Test Design: Selection of traditional and automated test design techniques
Front Cover
Half-Title Page
BCS, The Chartered Institute for it
Title Page
Copyright Page
Contents
List of figures and tables
Authors
Foreword
Acknowledgements
Abbreviations
Glossary
Letter to the reader
Preface − Testing is complex
1. Introduction
The importance of software testing
What is test design exactly?
Why should tests be designed?
When do we design tests?
Important test design-related considerations
Summary
2. Example Specification: Ticket Vending Machine
Summary
Part I Necessary Steps Before Test Design
3. Risk Management and Test Optimisation
What is risk?
Scoring the risks
Risk management
Risks, costs and quality
Risk and optimisation
Example: risk analysis of TVM
Key takeaways
4. Defect Prevention
Defect prevention methods
From requirements to specification (‘Two lifts in a 10-storey building’ example)
Refinement of the ticket vending machine specification
Key takeaways
Part II Traditional Test Design
5. Domain-Based Testing
Equivalence partitioning
Boundary value analysis
Domain analysis
Challenges in domain-based testing
TVM example
Method evaluation
Theoretical background
Key takeaways
Exercises
6. State Transition Testing
Stateful and stateless systems
States, transitions, conditions
Example: RoboDog
Validate your state transition graph
Test selection criteria for state transition testing
All-transition-state criterion
All-transition–transition criterion
Example: Collatz conjecture
When multiple techniques are used together
State transition testing in TVM example
Method evaluation
Theoretical background
Key takeaways
Exercises
7. Business Rule-Based Testing
Decision table testing
Cause–effect graphs
Method evaluation
Theoretical background
Key takeaways
Exercises
8. Scenario-Based Testing
Use cases
User stories
Methods evaluation
Theoretical background
Key takeaways
Exercises
9. Combinative and Combinatorial Testing
Combinative techniques
Combinatorial techniques
Comparison of the techniques
Classification trees
TVM example
Method evaluation
Theoretical background
Key takeaways
Exercises
10. On-The-Fly Test Design
Exploratory testing
Session-based testing
TVM example
Method evaluation
Theoretical background
Key takeaways
Exercise
Part III Automated Test Design
11. Model-Based Testing
What is a model?
What is model-based testing?
Test design and MBT
The process of MBT
Modelling languages
Abstraction levels in MBT
Keyword-driven testing
Test selection criteria
Test case generation
Some MBT tools
Method evaluation
Key takeaways
Exercise
12. Gherkin-Based MBT
First example
The modelling language
Given, when, then, and, is
Test design maintenance
Ticket vending machine example
Method evaluation
Theoretical background
Key takeaways
Exercises
13. MBT Using Graphs – Graphwalker
Making GraphWalker work
Executing GraphWalker for the TVM model
Testing our TVM with GraphWalker
Method evaluation
Key takeaways
Exercise
14. Testing The TVM – Summary and Method Comparison
Testing TVM by STT, EP and BVA
Testing TVM by use case testing, EP and BVA
Combinative testing
Testing TVM by other methods
Comparison
15. Conclusions and Recommendations
Appendix A − TVM models
Appendix B − Test code for demonstrating GraphWalker
Appendix C − POM.XML for GraphWalker
Appendix D − Solutions to the exercises
References
Index
Back Cover
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
BCS, The Chartered Institute for it
Next
Next Chapter
Copyright Page
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset