
Gennadiy Rozental wrote:
"Johan Nilsson"
wrote in message news:e6oelq$fm3$1@sea.gmane.org... Gennadiy Rozental wrote:
"Johan Nilsson"
wrote in message news:e6obp8$70i$1@sea.gmane.org... Hi,
it doesn't seem to exist a simple way to customize the xml output without rewriting the xml log formatter altogether - is that right? I'd like to be able to specifiy the tag names used (TestSuite, TestLog, TestCase etc) for compatibility with an already existing log parser.
I guess I could make it config file configurable (next release when I finally start supporting config files for Boost.Test).
Would it be good enough?
If you could provide me with a brief explanation of how the config files are to be used (together with an example), I might be able to answer that ;-)
I will add parameter --config <file-name> for the framework and config file will present parameters like this:
namespace boost namespace test namespace log namespace format
xml::doc_tag TestLog xml::suite_tag TestSuite xml::case_tag TestCase
endnamespace endnamespace endnamespace endnamespace
A config file sounds like a great idea, and the above would work for me. Using a more-or-less standard fileformat instead of the above would be a plus though, IMHO. // Johan