quickSelfTest/README
author sr
Thu, 06 Jun 2019 10:03:12 +0200
changeset 550 e8b3552904ba
parent 543 fda58d35b323
permissions -rw-r--r--
#BUGFIX by Stefan Reise class: RunUnitTests class definition class: RunUnitTests class added:20 methods class: RunUnitTests::RunnerSelfTest class definition added: #test01_shouldPass #test02_shouldFail #test03_shouldError #test04_shouldError #test05_shouldBeSkipped

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.