The most important content for skilful tester tool belt is not programming skill, but knowledge and practice of various test techniques. This post explains domain testing test technique that is aligned with Black Box Software Testing Foundations course (BBST) created by Rebecca Fiedler, Cem Kaner and James Bach.
Example on Google Calendar
For every variable or combination of variables, consider the set of possible values.
Variables for basic option:
For this example, we will determine set of possible values for name. This is string, possible values are determined using following string variables:
String could have any length, from 0 to maximal allowed length. Character could be any from UTF8 character set, which is 1,112,064.
Reduce the set by partitioning into subsets. Pick a few high-risk representatives of each subset.
0 length –> min length –> n length –> max length –> above max length.
How to determine min and max values? You can use counterstrings, where string length is encoded into string. For example, this string has length 25:
If name string gets truncated, you could easily determine truncated length.
All ascii characters + one, two, three, four byte UTF8 character. Example is 🙂
Using domain testing you can easily tell your tester story. You will know when to stop testing, in Google calendar example we should define and reduce value set for all variables, we can explore variables from additional set, we should consider variables combination value set, e.g. value set for type and time.
Do you still think that testing is boring activity?