Boost logo

Boost Users :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-06-16 04:08:32


Gennadiy Rozental wrote:
> "Johan Nilsson" <r.johan.nilsson_at_[hidden]> wrote in message
> news:e6oelq$fm3$1_at_sea.gmane.org...
>> Gennadiy Rozental wrote:
>>> "Johan Nilsson" <r.johan.nilsson_at_[hidden]> wrote in message
>>> news:e6obp8$70i$1_at_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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net