75
|
1 |
This package contains tools to generate various reports.
|
|
2 |
Currently, only SUnit test report is supported. Also, options to
|
|
3 |
control what to do are quite limited. More will come...
|
|
4 |
|
|
5 |
To run a test suite for a package, execute following command:
|
|
6 |
|
|
7 |
../../../projects/smalltalk/stx -I --quick --noBanner -f test-runner.sh \
|
|
8 |
-D <REPORTDIR> -r <REPORT> -p <PACKAGE> [-p <PACKAGE> [-p ... ]]
|
|
9 |
|
|
10 |
Where
|
|
11 |
<REPORTDIR> is a directory where the report files are stored.
|
|
12 |
Currently the name of the file is fixed, being
|
|
13 |
<PACKAGE>-<KIND>.xml.
|
|
14 |
<REPORT> Report class name. Currently, only Builder::TestReport
|
|
15 |
is supported.
|
|
16 |
<PACKAGE> Smalltalk/X package name for which to generate the report.
|
|
17 |
|
|
18 |
|
|
19 |
Example:
|
|
20 |
|
|
21 |
To run Smalltalk regression tests, issue following command:
|
|
22 |
|
|
23 |
../../../projects/smalltalk/stx -I --quick --noBanner -f test-runner.st \
|
|
24 |
-D /tmp -r Builder::TestReport -p exept:regression
|
|
25 |
|
|
26 |
When finished, you may find a report in file /tmp/exept_regression-Test.xml
|