-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
when one uses `pytest-subtests` plugin, this plugin was able to report only the last report from the test, which is passing always (if no setup/teardown issues, or failure outside of the context of subtests), and the subtest failure were lost and not counted/reported. this change is fixing this, and collects all of the reports during a test and report them each on it's own. this introduce a new field to the output of a test report, `subtest` if it's a report from subtest, it would be the message of that subtest. Fixes: #28
- Loading branch information
Showing
3 changed files
with
71 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ pytest-cov | |
tox | ||
wheel>=0.33.0 | ||
pytest-xdist | ||
pytest-subtests | ||
six |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters