-
Notifications
You must be signed in to change notification settings - Fork 6
Allow additional output #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm not sure where pytest is storing/writing that informational data. At the most basic level, the reporter could be updated to convert that information to diagnostics to show in the tap stream. |
@mblayman woohoo! Looking forward to the update 👍🏼 Thank you! |
@codambro did most of the work for sure! I'm getting the packaging cleaned up for this package. I'll try to push out an updated release in a day or two. |
@mblayman I think I’ll have to dig a little deeper into how some plugins dump “post test” statistics — they’re still not captures (see comment). I suspect that’s got to do with Reporting hooks in pytest… 🤔 |
If you're looking at Basically, plugins like I tried to come up with a simple workaround, but was not able to, as the order of events within pytest is rather prohibitive, and |
Quick and dirty workaround in conftest.py...
Result (addt test) appended to TAP:
|
This is an interesting plugin, thank you! I’ve recently started to add more TAP based tests to a Python project and unifying test results for reporting using TAP is a great prospect.
However, I wanted to discuss the option of outputting additional test information which might conflict with TAP based reporting — I am not sure at this point.
For example, running tests from this template repo usually prints a bunch more information:
Notice the Hypothesis and Coverage statistics here. In contrast, running using the
--tap
option gives me this:where additional information is missing.
Looking at the TAP spec v13 it seems that YAML blocks or comments would come in handy here?
The text was updated successfully, but these errors were encountered: