Patterns for Better Scenarios
Don't Dial Every Number
Scenarios can be automated but they are not a comprehensive set of tests
to be created far in advance of implementation.If you're using a phone, you don't need to dial every number to verify that it works:
a few samples, plus some important special cases such as 911, can give you that confidence.Redundant scenarios slow you down and hinder communication and understanding;
if you truly need them, add them to a comprehensive regression suite.
Don’t dial every number:
Select scenarios that cover the logic pathways with little redundancy.
Select scenarios that cover the logic pathways with little redundancy.
(Reading...)
Formatting Hints:
To format... | use this markup: |
---|---|
source code | {source:lang=java|lineNumbers=false}...{source} (Supported languages: java, cpp, csharp, c, python.) |
bold text | __some text__ |
italicized text | ~~some text~~ |
underlined text | @@some text@@ |
a method or class name | ``myMethod(...)`` |