pytest-check 2.0.0b1 available to test.

pip install pytest-check --pre

Change modifies default behavior and deprecates a flag (a new flag, but still).

Reasons: makes it by default faster.

- new `--check-max-tb=0` flag replaces `--check-no-tb`.
- default is for check-max-tb=1

PR: https://github.com/okken/pytest-check/pull/110

I'd love to hear feedback.😀

Speak now or forever (you know how it goes ) file issues without reading the README or the Changelog. 😩 Is that too real for a holiday?

#pytest #pythontesting

2.0.0 - new --check-max-tb, defaults to 1, deprecate --check-no-tb by okken · Pull Request #110 · okken/pytest-check

The default behavior has changed. Since --check-max-tb=1 is the default, the default behavior is now: Show traceback for the first failure per test. (controlled by --check-max-tb, default is 1) Sh...

GitHub
@brianokken wondering if you would consider integration with subtests
@ossronny subtests seem like a separate solution to the same problem. But sure, why not?

@brianokken it's all about partitioning of reports, checks is about groups of soft assets, subtests is about numbered or named subsections of tests

IMHO the assert groups fit test sections as reporting detail

@ossronny do you use subtests much?
@brianokken currently primarily in some acceptance e2e testing, for most smaller stuff parameterization wins
@ossronny I’ll look into it sometime. I’m not familiar with the guts of subtests.