Game Development Reference
In-Depth Information
To use Allpairs, start by creating a file that contains tab-delimited columns of parameter
names with the test values in the following table. Here is an example based on match
settings from the fighting game Dead or Alive 3 (DOA3):
Difficulty
MatchPoint
LifeGauge
RoundTime
Normal
1
Smallest
NoLimit
Easy
2
Small
30
Hard
3
Normal
40
VeryHard
4
Large
50
5
Largest
60
99
Remember, this is not an attempt at a combinatorial table—the tool will provide that.
This is a description of the parameters you want to test: Difficulty level, Match Points
needed to win a match, Life Gauge size displayed on the screen, and Round Time in
seconds. Even though there are only four parameters, the fact that they have 4, 5, 5,
and 6 values to each to test would make this difficult to construct and validate by
hand. That also means there are 600 (4*5*5*6) values if you try to test all four-wise
combinations. You should expect a much smaller test set from a pairwise combinato-
rial test of these options—somewhere in the 30-40 range—based on the dimensions
of the two largest parameters (6*5).
Now open a DOS (yes—DOS!) window and enter allpairs input.txt > output.txt where
input.txt is the name of your tab-delimited parameter list file, and output.txt is the
name of the file where you want to store the generated combinatorial table. Make sure
you are in the directory where the files are located, or provide the full path.
For this DOA3 table, the command might be allpairs doaparams.txt > doapairs.txt .
Here's what the test case portion of the output looks like:
Search WWH ::




Custom Search