Boost logo

Boost Testing :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-24 07:33:47


"Robert Ramey" <ramey_at_[hidden]> writes:

> Jonathan Turkanis wrote:
>> Robert Ramey wrote:
>>> Libraries that are not header only have special problems regarding
>>> the tests
>>>
>>> a) if he library fails to build - all the tests are marked "fail"
>>> This is very misleading as a test cannot fail if it is not run.
>>
>> Marking a test as failed when it fails to build doesn't seem
>> misleading to me, although it would be convenient if I could tell at
>> a glance whether there was a compiler error, linker error or runtime
>> failure.
>
> Its marking a test as failed when the LIBRARY fails to build thats
> misleading. So one issue to resolved shows as 250 test failures. To me,
> that's misleading

It's no different than if one of the library's core headers had a bug
in it. One issue to be resolved; no tests pass.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-testing list run by mbergal at meta-comm.com