Closed SanderVocke closed 8 months ago
Attention: 4 lines
in your changes are missing coverage. Please review.
Comparison is base (
6ab931f
) 72.69% compared to head (c8e8c12
) 79.64%. Report is 1 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
qoverage/__main__.py | 40.00% | 2 Missing and 1 partial :warning: |
test/run_example.py | 88.88% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The current way to dump collection results at program exit is to connect to app.aboutToQuit().
In practice this is often not triggered, in particular also during execution of
qmltestrunner
.There is an alternative: use a pure QML module with qmldir file to declare a singleton type. All the tracked files can import the module and call logging functions on the singleton. The singleton can just dump on its onDestruction signal.