Bug #1827
The cscripts tests from command line are not reported in the coverage report
Status: | Closed | Start date: | 07/29/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assigned To: | Knödlseder Jürgen | % Done: | 100% | |
Category: | - | |||
Target version: | 1.2.0 | |||
Duration: |
Description
The cscripts tests that execute the scripts from command line are to reported in the coverage report. This is possibly due to the fact that these tests span another process to which the PYTHON_COVERAGE
symbol is not prepended.
The problem can be possibly fixed by prepending PYTHON_COVERAGE
in the testing.py
script. This means that this script has to be translated into a testing.py.in
script.
Recurrence
No recurrence.
History
#1 Updated by Knödlseder Jürgen over 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
I promoted the testing.py
script to a testing.py.in
and prepended the PYTHON_COVERAGE
symbols before the script executing. This showed in a Sonar test that now the coverage is correctly measured.
The change has been merged into devel
.
#2 Updated by Knödlseder Jürgen over 8 years ago
- Subject changed from The cscripts tests from command line are to reported in the coverage report to The cscripts tests from command line are not reported in the coverage report