Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12452: XML log can contain unescaped characters from test output
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-13 12:51:05
#12452: XML log can contain unescaped characters from test output
----------------------------------------------+---------------------
Reporter: Igor Akhmetov <igor.akhmetov@â¦> | Owner: rogeeff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
Version: Boost 1.61.0 | Severity: Problem
Resolution: | Keywords: XML
----------------------------------------------+---------------------
Comment (by Igor Akhmetov <igor.akhmetov@â¦>):
I'm the author of the unit test runner in ReSharper C++, so I'm actually
providing an interface to Boost.Test.
We can't use XML log format with Google Test, since it's not streaming, so
we use the console reporter which is fairly easy to parse. In Boost.Test
the XML reporter is streaming, but not flushing, so we use it with the
stderr sink - the only problem is unescaped user output which the standard
XML reader fails to parse, and we've got several user requests about this
problem.
Again, please take a look at how Catch handles that - it intercepts all
user output and escapes it (e.g. in the JUnit reporter). Ideally I'd like
Boost.Test to adopt the same approach.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12452#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC