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

a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)

Results 52 pytest-sugar issues
Sort by recently updated
recently updated
newest added

This only affects master branch atm. Documenting it here so I remember to fix it.

bug

For a long build, it is useful to have timestamps. It would be great to have a timestamp in the front with a cli arg. Example: ``` [hh:mm:ss DD:MM:YYYY] tests/add_text_tests.pyTestStarList.test_basic...

enhancement

The new summary uses the line of the test function itself, but the line containing the crash would be more useful often (to jump directly to it). I think this...

enhancement

If a test has a long setup fixture, it takes a long time before the first test is executed. Without pytest-sugar, pytest already outputs the test name itself, so you...

enhancement

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...

enhancement

I am running tests that all use the same session-scoped fixture. This fixture natively uses a number of parameters. pytest first uses the first parameter of the fixture, runs all...

Early WIP for #223. TODO: - [ ] Make it work with xdist - [ ] Change the static "…" char to be a spinner Status so far: https://github.com/Teemu/pytest-sugar/assets/91550/bbbc2280-4813-4e19-8d86-b28aa890faed

When running pytest with pytest-sugar 0.9.6 installed, I am getting the following warning: ``` ERROR cocotb:simulator.py:302 /usr/lib/python3.10/site-packages/pytest_sugar.py:155: PytestDeprecationWarning: The hookimpl pytest_configure uses old-style configuration options (marks or attributes). ERROR cocotb:simulator.py:302...

I followed the process for [adding a license to an existing repository](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository#including-an-open-source-license-in-your-repository), and then I copied and pasted the license that GitHub generates for the [BSD 3-Clause License](https://opensource.org/license/bsd-3-clause) type into...

Could you consider using an established open-source license for this project? [Pytest](https://github.com/pytest-dev/pytest/blob/main/LICENSE) uses the MIT license, which might be a suitable option. With the current license, I am unable to...