quickSelfTest/README
author Claus Gittinger <cg@exept.de>
Thu, 28 Mar 2019 13:54:38 +0100
changeset 542 aa25a71be62a
parent 536 02bf82681471
child 544 fda58d35b323
permissions -rw-r--r--
#DOCUMENTATION by cg
class: stx_goodies_builder_quickSelfTest
class definition

class: stx_goodies_builder_quickSelfTest class
added:18 methods
cg@244
     1
A quick selftest running non-GUI after a jenkins build
cg@244
     2
cg@244
     3
to start:
cg@244
     4
    sh run.sh
cg@244
     5
cg@244
     6
or
cg@244
     7
    run.bat (windows)
cg@244
     8
sr@330
     9
executes the tests found in ~/stx/goodies/regression/*
cg@244
    10
and generates a junit-xml compatible output file 'testresult.xml',
cg@244
    11
(to be consumed by jenkins).
cg@244
    12
sr@330
    13
the cmd script will start stx with Start.st
sr@330
    14
Start.st will prepare the stx environment required for the unit test.
sr@330
    15
For e.g. loading required packages.
sr@330
    16
sr@330
    17
The last command of Start.st will file in RunUnitTest.st class and send #run.
cg@536
    18
The RunUnitTest class will perform all unit tests
cg@536
    19
(or a subset with the --runOnlyExpeccoUnitTests
cg@536
    20
or --runOnly xxx parameter)
cg@536
    21
and create a report file