quickSelfTest/README
author sr
Tue, 03 Dec 2019 11:04:55 +0100
changeset 557 55d699399793
parent 543 fda58d35b323
permissions -rw-r--r--
#FEATURE by Stefan Reise added #doRunExpeccoRelatedUnitTestsOnly

A quick selftest running non-GUI after a jenkins build

to start:
    sh run.sh

or
    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 fileIn the RunUnitTest.st class
and send it a #run message.
The RunUnitTest class will perform all unit tests
(or a subset with the --runOnlyExpeccoUnitTests
 or --runOnly xxx parameter)
and create a report file.