Repository navigation
Changed
-
Report::nameis now anOption<XmlString>rather than anXmlString.Many tools, most notably Python's junit-xml, emit a
<testsuites>element without anameattribute, and the Jenkins junit-10 schema doesn't require one either. Previously, quick-junit rejected such reports with a missing attribute error. With this change:- Reports without a
namenow deserialize withnameset toNone. - Serializing a report with
name: Noneomits the attribute.
Report::newcontinues to require a name; use the newReport::unnamedconstructor to build a report without one.Thanks nikstur for your first contribution!
- Reports without a