Opened 9 years ago

Closed 6 years ago

#8707 closed Feature Requests (fixed)

Provide Standard xUnit XML Output from Boost Test

Reported by: anonymous Owned by: Raffi Enficiaud
Milestone: Boost 1.62.0 Component: test
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

The xUnit XML output format is the de facto standard for unit test output. Virtually all tools that deal with automated unit tests, such as IDEs and Continuous Integration systems, are able to consume and parse xUnit test output. Boost Test does not currently provide an option to output xUnit-compatible XML output, opting instead for it's own dialect. This causes a lot of wasted effort for C++ developers that use Boost Test. Work-arounds abound. One need only search for '"boost test" xunit xml' to see the numerous issues and work-arounds lack of such support causes.

Providing an option to generate xUnit XML output directly from Boost Test would immediately enhance its usefulness to the C++ development community.

Change History (5)

comment:1 by matthew.greenwood@…, 9 years ago

I agree with this request. This addition would be very helpful. Another option would be to allow changes to the report XML format. Main additions that would also be helpful is to have the test duration time added to the report and also details for the successful and erroring tests in the report (currently only showed in the log, this means I have an extra step to merge the 2 xml files to get all the information I need).

comment:2 by Raffi Enficiaud, 7 years ago

Owner: changed from Gennadiy Rozental to Raffi Enficiaud
Status: newassigned

comment:3 by Raffi Enficiaud, 6 years ago

Milestone: To Be DeterminedBoost 1.62.0

comment:4 by Raffi Enficiaud, 6 years ago

Junit logging is now possible, currently in develop and master (rev a8fa08b9b78516b78458ecb8b005d520a0c173f7)

Last edited 6 years ago by Raffi Enficiaud (previous) (diff)

comment:5 by Raffi Enficiaud, 6 years ago

Resolution: fixed
Status: assignedclosed

Released in 1.62

Note: See TracTickets for help on using tickets.