reports/README
author Claus Gittinger <cg@exept.de>
Thu, 28 Mar 2019 13:54:38 +0100
changeset 542 aa25a71be62a
parent 333 a7d1a4a65b39
permissions -rw-r--r--
#DOCUMENTATION by cg class: stx_goodies_builder_quickSelfTest class definition class: stx_goodies_builder_quickSelfTest class added:18 methods
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
75
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
This package contains tools to generate various reports.
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
Currently, only SUnit test report is supported. Also, options to 
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
control what to do are quite limited. More will come...
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
To run a test suite for a package, execute following command:
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
../../../projects/smalltalk/stx -I --quick --noBanner -f test-runner.sh \
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
	-D <REPORTDIR> -r <REPORT> -p <PACKAGE> [-p <PACKAGE> [-p ... ]]
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
333
a7d1a4a65b39 Update package name.
mawalch
parents: 75
diff changeset
    10
Where
a7d1a4a65b39 Update package name.
mawalch
parents: 75
diff changeset
    11
  <REPORTDIR>     is a directory where the report files are stored.
75
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
                  Currently the name of the file is fixed, being
333
a7d1a4a65b39 Update package name.
mawalch
parents: 75
diff changeset
    13
                  <PACKAGE>-<KIND>.xml.
75
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    14
  <REPORT>        Report class name. Currently, only Builder::TestReport
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    15
                  is supported.
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    16
  <PACKAGE>       Smalltalk/X package name for which to generate the report.
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    17
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    18
333
a7d1a4a65b39 Update package name.
mawalch
parents: 75
diff changeset
    19
Example:
75
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    20
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    21
To run Smalltalk regression tests, issue following command:
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    22
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    23
../../../projects/smalltalk/stx -I --quick --noBanner  -f test-runner.st \
333
a7d1a4a65b39 Update package name.
mawalch
parents: 75
diff changeset
    24
	-D /tmp -r Builder::TestReport -p stx:goodies/regression
75
686f675d9442 scripts and README added
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    25
333
a7d1a4a65b39 Update package name.
mawalch
parents: 75
diff changeset
    26
When finished, you may find a report in file  /tmp/exept_regression-Test.xml