./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-08-29 14:27:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-check: updated to 2.4.1

2.4.1

Added
- `is_nan()`
- `is_not_nan()`

2.4.0

Modified
- Drop Python 3.7
- Add testing for Python 3.12
- Add tox-uv to tox.ini and main.yml
   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