Closed jeffwright13 closed 2 years ago
Implementation in latest issue10 branch collects PASS/SKIP tests as the test's TestReport is being gathered; then adds them to a list (which is pickled to disk for later retrieval). Rudimentary implementation does in deed show Pass tests.
Current code only marks failures, which is great for probably 80% of the time, but the user should have access to the full output of the test run.
Code implementing failure-case marking is in
plugin.py
, in hookpytest_runtest_logreport
. The current implementation of accessing thereport.longrepr.chain[0][0].reprentries[0].lines.insert(0, MARKERS["pytest_fold_failure_begin"])
fails with error