Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Include metadata in junit xml results as property tags #31
Conversation
By adding an autoused session fixture that calls record_testsuite_property.
|
This would close #16 btw (at least partially). I finally got around to it (just from my personal account) |
By adding an autoused session fixture that calls record_testsuite_property.
A couple of questions about this.
To my understanding
<property>tags aren't supported in xunit1 format - however this feels like something that pytest itself should be looking after rather than checking that in this plugin (i.e.record_testsuite_propertyshould be a null op in that case, or raise or something).This only handles the session-level metadata. TBH, that's all I need and it's useful in itself.
I suppose that this could/should be noted in the docs somewhere (should it?). I couldn't decide where to reasonably mention this.