DiscoverTest & Code233: pytest-check - allow multiple failures per test
233: pytest-check - allow multiple failures per test

233: pytest-check - allow multiple failures per test

Update: 2025-05-02
Share

Description

pytest-check is 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.

Links:





Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

233: pytest-check - allow multiple failures per test

233: pytest-check - allow multiple failures per test

Brian Okken