./devel/py-test-check, Pytest plugin that allows multiple failures per test

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.4.1, Package name: py312-test-check-2.4.1, Maintainer: pkgsrc-users

A pytest plugin that allows multiple failures per test.

Normally, a test function will fail and stop running with the first
failed `assert`. That's totally fine for tons of kinds of software
tests. However, there are times where you'd like to check more
than one thing, and you'd really like to know the results of each
check, even if one of them fails.

`pytest-check` allows multiple failed "checks" per test function,
so you can see the whole picture of what's going wrong.


Master sites:

Filesize: 28.255 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-19 11:51:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-check: updated to 2.3.1

2.3.1

Modified
- Documentation Update, README.md
  - Turn help function list into a table with param lists
  - Show an alternative method of creating a helper function using `check.fail()`
   2024-01-18 19:06:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-check: updated to 2.3.0

2.3.0

Added
 - `between_equal(b, a c)`
   - as a shortcut for `between(b, a, c, ge=True, le=True)`
 - `fail(msg)` - indicate test failure, but don't stop testing
   2024-01-11 13:29:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-check: updated to 2.2.4

2.2.4

- Summaries from 2.2.3 are cool, but don't work for pytest < 7.3
- Remove them for earlier pytest
- Add tox test run for pytest 7.0.0
- Change dependencies to require 7.0.0 pytest
   2024-01-04 23:20:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-check: updated to 2.2.3

2.2.3

- Check failure info now shows up in summaries.
- fix [133](https://github.com/okken/pytest-check/issues/133)
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-09-27 12:58:38 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-check: updated to 2.2.2

2.2.2
Bug fix
   2023-08-23 07:33:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-check: updated to 2.2.1

2.2.1:
Changed
- Increase Python range to include 3.7.0
   2023-07-19 09:55:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-check: updated to 2.2.0

2.2.0

Added
- pseudo traceback additions
- `-l` or `--showlocals` shows locals
- `__tracebackhide__ = True` is honored.
- if `assert` or other exception is involved,
  - the exception is included as part of the traceback.

Changed
- pseudo traceback changes
- The red color is used more selectively.
  - this is intended to help readability
- Other minor formatting changes.
  - Please let me know if you have any issues with the changes