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