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

A quick selftest running non-GUI after a jenkins build

to start:
    sh run.sh

    run.bat (windows)

executes the tests found in ~/stx/goodies/regression/*
and generates a junit-xml compatible output file 'testresult.xml',
(to be consumed by jenkins).

the cmd script will start stx with Start.st
Start.st will prepare the stx environment required for the unit test.
For e.g. loading required packages.

The last command of Start.st will file in RunUnitTest.st class and send #run.
The RunUnitTest class will perform all unit tests
(or a subset with the --runOnlyExpeccoUnitTests
or --runOnly xxx parameter)
and create a report file