Opened 5 years ago

Closed 17 months 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:


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.

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by matthew.greenwood@…

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 Changed 3 years ago by Raffi Enficiaud

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

comment:3 Changed 19 months ago by Raffi Enficiaud

Milestone: To Be DeterminedBoost 1.62.0

comment:4 Changed 19 months ago by Raffi Enficiaud

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

Last edited 19 months ago by Raffi Enficiaud (previous) (diff)

comment:5 Changed 17 months ago by Raffi Enficiaud

Resolution: fixed
Status: assignedclosed

Released in 1.62

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Raffi Enficiaud.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.