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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
244
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
A quick selftest running non-GUI after a jenkins build
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
to start:
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
    sh run.sh
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
or
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
    run.bat (windows)
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
330
6a3fe7cea4e1 *** empty log message ***
sr
parents: 244
diff changeset
     9
executes the tests found in ~/stx/goodies/regression/*
244
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
and generates a junit-xml compatible output file 'testresult.xml',
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
(to be consumed by jenkins).
4ff4a2444d1a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
330
6a3fe7cea4e1 *** empty log message ***
sr
parents: 244
diff changeset
    13
the cmd script will start stx with Start.st
6a3fe7cea4e1 *** empty log message ***
sr
parents: 244
diff changeset
    14
Start.st will prepare the stx environment required for the unit test.
6a3fe7cea4e1 *** empty log message ***
sr
parents: 244
diff changeset
    15
For e.g. loading required packages.
6a3fe7cea4e1 *** empty log message ***
sr
parents: 244
diff changeset
    16
6a3fe7cea4e1 *** empty log message ***
sr
parents: 244
diff changeset
    17
The last command of Start.st will file in RunUnitTest.st class and send #run.
536
02bf82681471 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 535
diff changeset
    18
The RunUnitTest class will perform all unit tests
02bf82681471 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 535
diff changeset
    19
(or a subset with the --runOnlyExpeccoUnitTests
02bf82681471 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 535
diff changeset
    20
or --runOnly xxx parameter)
02bf82681471 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 535
diff changeset
    21
and create a report file