Example Criteria Files

The following samples are for illustration purposes and show Criteria, Negative Tests, Required Tests, and Constraints. Use these as a starting point when desired.

Note in the examples that blank lines are ignored, and spaces before and after values are also ignored.
Duplicating values in the same criteria is not allowed so blank characters do not make them distinct. But bixing case does* makes values distinct.
Buy-sell (criteria)
CRITERIA
Sale,    Buy,     Sell
City,    Austin,  Gdansk
Status,  New,     Used
Vehicle, BMW,     Audi,  Mercedes
Color,   Red,     Blue
Hours,   Working, Non-working
This is a basic buy-sell pairwise generation example found in many places on the internet. We used this as the basis to learn pairwise and validate our process.
Buy-sell (with negative criteria)
CRITERIA
Sale             ,Buy    ,Sell
City             ,Austin ,Gdansk
Status           ,New    ,Used
Vehicle          ,BMW    ,Audi       ,Mercedes
Color            ,Red    ,Blue
Hours            ,Working,Non-working

NEGATIVE CRITERIA
Sale             ,Trade
Vehicle          ,Lada
Color            ,Yellow
This is simple negative criteria. One negative test will be produced for each negative criteria.
Buy-sell (with required tests)
CRITERIA
Sale             ,Buy    ,Sell
City             ,Austin ,Gdansk
Status           ,New    ,Used
Vehicle          ,BMW    ,Audi       ,Mercedes
Color            ,Red    ,Blue
Hours            ,Working,Non-working

REQUIRED TESTS
ID               ,Sale   ,City       ,Status  ,Vehicle,Color,Hours
1                ,Buy    ,Austin     ,Used    ,Audi   ,Blue ,Non-working
2                ,Buy    ,Gdansk     ,Used    ,Audi   ,Blue ,Working
3                ,Sell   ,Gdansk     ,New     ,Audi   ,Red  ,Working
4                ,       ,Gdansk     ,        ,BMW    ,Red
Required tests allow you to create specific conditions beyond pairs to be tested. These are always the first tests generated to use the specified pairs, and to allow you to easily confirm they’re generated.
Note that Test 4 does not provide all values. In these cases, the missing values will be filled in from the list of valid values.
Buy-sell (with constraints)
CRITERIA
Sale             ,Buy    ,Sell
City             ,Austin ,Gdansk
Status           ,New    ,Used
Vehicle          ,BMW    ,Audi       ,Mercedes
Color            ,Red    ,Blue
Hours            ,Working,Non-working

CONSTRAINTS
When             ,Vehicle,is         ,BMW
And              ,City   ,is         ,Austin
Then             ,Color  ,isNot      ,Red
Constraints are the basis of limiting value combinations, they are critical in generating useful tests.
Buy-sell (with all sections)
CRITERIA
Sale             ,Buy    ,Sell
City             ,Austin ,Gdansk
Status           ,New    ,Used
Vehicle          ,BMW    ,Audi       ,Mercedes
Color            ,Red    ,Blue
Hours            ,Working,Non-working

NEGATIVE CRITERIA
Sale             ,Trade
Vehicle          ,Lada
Color            ,Yellow

REQUIRED TESTS
ID               ,Sale   ,City       ,Status  ,Vehicle,Color,Hours
1                ,Buy    ,Austin     ,Used    ,Audi   ,Blue ,Non-working
2                ,Buy    ,Gdansk     ,Used    ,Audi   ,Blue ,Working
3                ,Sell   ,Gdansk     ,New     ,Audi   ,Red  ,Working
4                ,       ,Gdansk     ,        ,BMW    ,Red

CONSTRAINTS
When             ,Vehicle,is         ,BMW
And              ,City   ,is         ,Austin
Then             ,Color  ,isNot      ,Red
This simple puts all the sections into a single file. Note that blank lines allow for section separation without impacting the generation process.
Web site (criteria, required tests, constraints)
CRITERIA
Device, Mobile, Desktop
Desktop Browser, Chrome, Firefox, Internet Explorer, Opera, Safari, n/a
Mobile Browser, Chrome, Android, Opera, Safari, n/a
Desktop Connection, wifi, cable, n/a
Mobile Connection, edge, 4g, wifi, n/a
Desktop OS, Windows, Linux, Mac, n/a
Mobile OS, iOS, Android, n/a
IP Version, IPv4, IPv6
Protocol, http, https
www in front, yes, no
Cookies, enabled, disabled
Window Dimension, wide, tall
Window Size, large, small
Language, english, non-english
Server Caching, on, off
Server Minification, on, off

REQUIRED TEST
ID, Desktop, Desktop Browser, Mobile Browser, Desctop Connection, Mobile Connection, Desktop OS, Mobile OS, IP Version, Protocol, WWW in front, Cookies, Window Dimension, Window Size, Language, Server Caching, Server Minification
Desktop, Desktop, Chrome, n/a, cable, n/a, Windows, n/a, IPv4, https, no, enabled, wide, large, english, on, off
Mobile, Mobile, n/a, Chrome, n/a, wifi, n/a, Android, IPv4, https, no, enabled, tall, small, english, on, off

CONSTRAINT
When, Device, IS, Mobile
Then, Mobile Browser, ISNOT, n/a
And, Mobile Connection, ISNOT, n/a
And, Mobile OS, ISNOT, n/a
And, Desktop Browser, IS, n/a
And, Desktop Connection, IS, n/a
And, Desktop OS, IS, n/a

When, Device, IS, Desktop
Then, Desktop Browser, ISNOT, n/a
And, Desktop Connection, ISNOT, n/a
And, Desktop OS, ISNOT, n/a
And, Mobile Browser, IS, n/a
And, Mobile Connection, IS, n/a
And, Mobile OS, IS, n/a

When, Desktop Browser, ISNOT, n/a
Or, Desktop Connection, ISNOT, n/a
Or, Desktop OS, ISNOT, n/a
Then, Mobile Browser, IS, n/a
And, Mobile Connection, IS, n/a
And, Mobile OS, IS, n/a

When, Mobile Browser, IS, Android
Then, Mobile OS, IS, Android

When, Desktop Browser, IS, Internet Explorer
Then, Desktop OS, IS, Windows

When, Mobile OS, ISNOT, n/a
Then, Desktop OS, IS, n/a

When, Mobile Browser, ISNOT, n/a
Then, Desktop Browser, IS, n/a

When, Mobile Connection, ISNOT, n/a
Then, Desktop Connection, IS, n/a

When, Device, IS, Mobile
Then, Window Size, IS, small
6x6 criteria only
CRITERIA
a,a1,a2,a3,a4,a5,a6
b,b1,b2,b3,b4,b5,b6
c,c1,c2,c3,c4,c5,c6
d,d1,d2,d3,d4,d5,d6
e,e1,e2,e3,e4,e5,e6
f,f1,f2,f3,f4,f5,f6
The above example is a basic alphabetic/number square to easily see and understand the results of generation. As with any criteria value, simply replacing one value with another doesn’t impact the generation process.