Library › Book 11 › Test Design Techniques
Test Design Techniques
2.1🔒OverviewYou cannot test every possible input. These techniques answer: "Which inputs should I choose?" They have been taught since the 1970s and…
2.2🔒Boundary Value Analysis (BVA)Test at the edges of input ranges, where bugs cluster. Off-by-one errors are the most common numerical bug in software.
2.3🔒Equivalence Partitioning (EP)Divide inputs into groups (partitions) where all values behave the same. Test one representative from each partition.
2.4🔒Decision TablesWhen business logic involves combinations of conditions, decision tables ensure complete coverage.
2.5🔒State Transition DiagramsFor features with distinct states and transitions between them.
2.6🔒Pairwise TestingWhen you have many parameters, testing all combinations is impractical. Pairwise ensures every pair of parameter values appears at least…
2.7🔒Choosing the Right TechniquePro Tip: In practice, experienced QA engineers combine techniques. For one feature you might use EP to identify partitions, BVA to pick…
2.8🔒Key Takeaways — Chapter 2- BVA catches off-by-one errors at range boundaries - EP reduces test count by grouping equivalent inputs - Decision tables ensure complete…
2.9🔒Q&ASelf-Assessment Quiz — Chapter 21. For a text field that accepts 1-50 characters, list the six BVA values you would test. 2. What are the three equivalence partitions for…
2.10🔒Exercises — Chapter 2Beginner: Apply BVA to a password field (minimum 8 characters, maximum 64 characters, must contain at least one digit). List all boundary…
2.11🔒Q&AResume phrasing- Applied boundary value analysis and equivalence partitioning to reduce test suite size by 60% while maintaining equivalent defect…
2.12🔒Q&ACover letter framingI select test design techniques strategically based on the problem at hand — boundary value analysis for numeric fields, decision tables…
2.13🔒Q&AInterview framing"I approach test design by first classifying the problem: Is this a range validation? I use BVA and EP. Is it a set of business rules?…
2.14🔒Q&AWhat not to say- "I just test everything I can think of" — suggests no systematic technique selection - "Boundary values are just min and max" — misses…
2.15🔒Q&AQuestion 1Prompt: A registration form has these fields: age (18-120), username (3-20 alphanumeric characters), and a country dropdown (200…
2.16🔒Q&AQuestion 2Prompt: You are testing a pricing engine with these rules: employees get 30% off, orders over $500 get free shipping, loyalty members get…
2.17🔒Q&AQuestion 3Prompt: An e-commerce order has these states: Cart, Placed, Paid, Shipped, Delivered, Returned, Cancelled. Some transitions have conditions…
2.18🔒Q&AQuestion 4Prompt: Your team needs to test a web form across 4 browsers, 3 operating systems, 2 screen sizes, and 3 languages. Full combinatorial…
2.19🔒Q&AQuestion 5Prompt: A colleague argues that equivalence partitioning is unnecessary because "if you test the boundaries, you cover everything." How do…