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