pytest-sugar icon indicating copy to clipboard operation
pytest-sugar copied to clipboard

Missing "short test summary info" report for skips

Open blueyed opened this issue 9 years ago • 3 comments

When using pytest-sugar, the "short test summary info" (via py.test -ra) is not displayed:

======… short test summary info …=====
SKIP [1] …/app/plugin.py:20: --foo-bar-baz is not provided.

The test is skipped using pytest.skip() from a fixture.

Also, I've noticed a difference between using --nosugar and -p no:sugar: --nosugar would still display ⚫✓ instead of just s?!

blueyed avatar Mar 04 '16 16:03 blueyed

Fails seem to be displayed as expected - otherwise this would have been reported / noticed before probably already.

blueyed avatar Mar 04 '16 19:03 blueyed

There was a problem showing skipped tests but it's now fixed. The short test summary info is now shown but it's not very pretty (that's for another weekend).

screen shot 2016-03-20 at 00 10 43

Teemu avatar Mar 19 '16 22:03 Teemu

Also, I've noticed a difference between using --nosugar and -p no:sugar: --nosugar would still display ⚫✓ instead of just s?!

--nosugar is deprecated and will be removed.

Teemu avatar Mar 19 '16 22:03 Teemu