-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-libtestArea: `#[test]` / the `test` libraryArea: `#[test]` / the `test` libraryC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
This is a tracking issue for libtest's JUnit reporter.
Add an alternative formatter to libtest. The formatter produces valid xml that later can be interpreted as JUnit report. Report can be consumed by Continuous Integration tools like Jenkins.
Public API
Run test binary with --format=junit
argument.
Steps / History
- Implementation: feat(libtest): Add JUnit formatter #84568 Use as_secs_f64 in JunitFormatter #86359
- Final commenting period (FCP)
- Stabilization PR
Unresolved Questions
timestamp
is required by schema, but every viewer/parser ignores it. Attribute is not set to avoid depending on chrono;- Each test suite (doc tests, unit tests and each integration test) must be run separately. This due to a fact that from
libtest
perspective each one of them is a separate invocation. libtest
doesn't know what is the name of integration binary is being run, so in the report it just saysintegration
for all of them.- No test cases in src/test or otherwise validating output format correctness.
spencergilbert, jszwedko, last-partizan, Taowyoo, therealfrauholle and 5 more
Metadata
Metadata
Assignees
Labels
A-libtestArea: `#[test]` / the `test` libraryArea: `#[test]` / the `test` libraryC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Projects
Status
No status