Bug? : Supplying --xunit-printer and then --error-printer overwrites xml content

34 views
Skip to first unread message

Chris Bruniges

unread,
Apr 30, 2014, 9:54:47 PM4/30/14
to cxxtes...@googlegroups.com
Command line is 

cxxtestgen --xunit-printer -o runner.cpp Testerrr.h --error-printer

produces a "TEST-cxxtest.xml" containing 

Running cxxtest tests (2 tests).
In Testerrr::TestFail:
./Testerrr.h:25: Error: Expected (1==0), found (1 != 0)
Failed 1 and Skipped 0 of 2 tests
Success rate: 50%


Expected the xml version in the xml file, or a different file (without .xml extension) or something not a composite of the two runners.

Bill Hart

unread,
Jun 4, 2014, 12:06:56 AM6/4/14
to cxxtes...@googlegroups.com
Yeah, that looks like a bug.  I've added a ticket.

--Bill
Reply all
Reply to author
Forward
0 new messages