Re: Review: Boost Test Library
by other posts by this author
Feb 28 2001 7:48PM messages near this date
Re: [boost] Review: Boost Test Library
|
Re: Review: Boost Test Library
--- In boost@[...].. , Beman Dawes <bdawes@[...]..> wrote:
> >test_tools.htm: I like the CRITICAL part suggested in another
mail
> >instead of the _ASSERT suffix. I think the _CRITICAL suffix is
more
> >logical than putting it in between somewhere.
>
> Agreed. I've cut the macro names down to:
>
> BOOST_TEST(exp)
> BOOST_TEST_CRITICAL(exp)
> BOOST_TEST_ERROR(msg)
> BOOST_TEST_ERROR_CRITICAL(msg)
>
> BOOST_TEST seems to me to be as meaningful as BOOST_TEST_VERIFY,
yet is a
> bit shorter, which is important for this most heavily used macro.
>
> BOOST_TEST_ERROR seemed to relate better to the error reported than
> BOOST_TEST_FAILURE.
>
> If anyone has a serious objection to these names, please let me
know before
> the release.
I like these names, though I'd suggest renaming
BOOST_TEST_ERROR_CRITICAL to BOOST_TEST_CRITICAL_ERROR. No reason
other than it makes all of the names read more like proper english.
Either form is better than what was suggested before, however, so
make your best judgement and stick with it.
Bill Kempf
Thread:
Jens Maurer
Ed Brey
Beman Dawes
Jens Maurer
Beman Dawes
Jens Maurer
Jens Maurer
David Abrahams
David Abrahams
Mark Rodgers
Kevlin Henney
Kevlin Henney
Ronald Garcia
Mark Rodgers
Ed Brey
David Abrahams
David Abrahams
David Abrahams
Beman Dawes
Ed Brey
Jens Maurer
Beman Dawes
Ed Brey
|