spyder-ide / spyder-unittest

A plugin for Spyder to run tests and view the results
MIT License
79 stars 34 forks source link

PR: Display message if pytest exits abnormally #180

Closed jitseniesen closed 2 years ago

jitseniesen commented 2 years ago

This PR checks the exit status of the pytest process and displays a message if it indicates an abnormal exit. This happens when pytest is run with the --cov flag to gather coverage information and pytest-cov is not installed.

Fixes #176

codecov-commenter commented 2 years ago

Codecov Report

Merging #180 (4f8cd60) into master (d3d28d5) will decrease coverage by 0.15%. The diff coverage is 100.00%.

Impacted Files Coverage Δ
spyder_unittest/backend/noserunner.py 88.70% <100.00%> (ø)
spyder_unittest/backend/pytestrunner.py 95.65% <100.00%> (ø)
spyder_unittest/backend/pytestworker.py 92.40% <100.00%> (+0.09%) :arrow_up:
spyder_unittest/backend/runnerbase.py 100.00% <100.00%> (ø)
spyder_unittest/backend/unittestrunner.py 93.58% <100.00%> (ø)
spyder_unittest/widgets/unittestgui.py 84.18% <100.00%> (+0.07%) :arrow_up:
spyder_unittest/widgets/datatree.py 95.12% <0.00%> (-0.82%) :arrow_down: