Skip to content

Conversation

pyup-bot
Copy link
Collaborator

This PR pins pytest-sugar to the latest release 1.1.0.

Changelog

1.1.0

^^^^^^^^^^^^^^^^^^

Add Playwright trace file detection and display support for failed tests. This enhancement automatically detects and displays Playwright trace.zip files with viewing commands when tests fail, making debugging easier for Playwright users.
![Playwright trace.zip](docs/images/playwright-trace-example.png)

New command-line options:
- `--sugar-trace-dir`: Configure the directory name for Playwright trace files (default: test-results)
- `--sugar-no-trace`: Disable Playwright trace file detection and display

Contributed by [kie](https://github.com/kiebak3r) via [PR #296](https://github.com/Teemu/pytest-sugar/pull/296/)

1.0.0

^^^^^^^^^^^^^^^^^^

* Add support for pytest 8.x
* Drop support for Python 3.7

Contributed by [Justin Mayer](https://github.com/justinmayer) via [PR #281](https://github.com/Teemu/pytest-sugar/pull/281/)

0.9.7

^^^^^^^^^^^^^^^^^^

- For long-running tests, display minutes and not only seconds (thanks last-partizan)
- Add support for Pytest’s ``--header`` option (thanks wiresv)

0.9.6

^^^^^^^^^^^^^^^^^^^

- Remove py.std calls (thanks alexcjohnson)

0.9.5

^^^^^^^^^^^^^^^^^^^

- Fix distutils deprecation warning (thanks tgagor)
- Fix incompatibility with pytest-timeout (thanks graingert)
- Update pytest naming convention in documentation (thanks avallbona)

0.9.4

^^^^^^^^^^^^^^^^^^^

- Fix pytest-sugar 0.9.3 incompatible with pytest 5.4 (thanks nicoddemus)
- Fix Tests fail with pytest 3.5.0 DOCTESTS (^)
- Fix Tests fail with pytest 5.x (^)

0.9.3

^^^^^^^^^^^^^^^^^^^

- Fix incompatibility with pytest 5.4.0 (thanks GuillaumeFavelier)

0.9.2

^^^^^^^^^^^^^^^^^^^

- Fix incompatibility with pytest 3.10 (thanks Natim)
- Double colons for verbose output (thanks albertodonato)
- Fix "Wrong count with items modified in pytest_collection_modifyitems" (thanks blueyed)
- Defer registration of xdist hook (thanks blueyed)

0.9.1

^^^^^^^^^^^^^^^^^^^

- Fix incompatibility with pytest 3.4 (thanks nicoddemus)

0.9.0

^^^^^^^^^^^^^^^^^^^

- Print correct location for doctest failures
- Write xdist output on correct lines

0.8.0

^^^^^^^^^^^^^^^^^^^

- Release as an universal wheel
- Pytest3 compatibility
- Treat setup/teardown failures as errors
- Fix path issue in --new-summary
- Disable sugar output when not in terminal, should help with testing other pytest plugins
- Add double colons when in verbose mode
- Make --new-summary default, replaced flag with --old-summary

0.7.1

^^^^^^^^^^^^^^^^^^^

- Fix issue with deselected tests

0.7.0

^^^^^^^^^^^^^^^^^^^

- Show skipped tests
- Changed failed test summary (try `--new-summary` option to test it out)
- Show teardown errors
- Add support for pytest-rerunfailedtests
- Make test symbols customizable
- Remove deprecated `--nosugar`.

0.6.0

^^^^^^^^^^^^^^^^^^^

- pytest-xdist support
- Turn off progress meter when progressbar_length=0

0.5.1

^^^^^^^^^^^^^^^^^^^

- Fix Python 3 support

0.5.0

^^^^^^^^^^^^^^^^^^^

- Colour progressbar correctly for low number of tests
- Fix error case when deactivating pytest-sugar using --lf together with --nosugar
- --nosugar deprecated, use -p no:sugar

0.4.0

^^^^^^^^^^^^^^^^^^^

Thanks to or:

- Configurable colors
- Handling of long file paths
- Red progressbar in case of failures
- Using termcolor for much easier coloration and configuration
- Simplify the progressbar maths code
- Change the 's' for skipped tests to a circle
- Simplify the space filling logic of full_line
- Reduce the right margin to 0, so the blinking cursor is hidden

0.3.6

^^^^^^^^^^^^^^^^^^^

- Crashline with non-ASCII, 42
- Restore Python 2.6 / 3.3 support
- Fix unit tests
- Fix UnicodeDecodeError during install, 43

0.3.5

^^^^^^^^^^^^^^^^^^^

- Fix codec error during pip install

0.3.4

^^^^^^^^^^^^^^^^^^^

- Using pytest.mark.xfails throws an error 34

0.3.3

^^^^^^^^^^^^^^^^^^^

- Fix problem with PyPi package.

0.3.2

^^^^^^^^^^^^^^^^^^^

- Fix issue with PyPI package.
- Code refactoring

0.3.1

^^^^^^^^^^^^^^^^^^^

- Fix incorrect wrapping that fine-grained progress introduced

0.3.0

^^^^^^^^^^^^^^^^^^^

- Fine-grained progressbar using more Unicode block chars
- Display version of pytest and pytest-sugar
- Python 3 support
- Fix GH-3: Wrap tests when they extend past line
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant