Item.reportinfo is missing documentation #6689
Labels
type: docs
documentation improvement, missing or needing clarification
type: refactoring
internal improvements to the code
In the documentation, we have an example for working with non-python tests. There, we have:
My first question when seeing this is "what does that tuple I return mean". Unfortunately, the API references for Item and Node don't help. Even reading the source doesn't help much:
Finally, looking at the Python plugin in pytest, things get clearer:
but this should really be documented somewhere. Also, it's unclear to me why the example above uses
0
rather thanNone
.The text was updated successfully, but these errors were encountered: