$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [test] BOOST_TEST - universal testing tool
From: Alexander Lamaison (awl03_at_[hidden])
Date: 2012-11-04 05:25:09
Gennadiy Rozental <rogeeff_at_[hidden]> writes:
> Hi,
>
> Based on a discussion on mini-review thread I make some changes to the
> universal testing tool interface and now it look as follows (similar
> interfaces on WARN and REQUIRE levels):
>
> BOOST_CHECK_ASSERTION(A) - new expression template based testing tool
>
> BOOST_TEST(A,M) := BOOST_CHECK_ASSERTION(A) if M is not supplied or
> BOOST_CHECK_MESSAGE(A,M) if M is supplied.
>
> BOOST_TEST (and it's siblings BOOST_TEST_WARN and BOOST_TEST_REQUIRE) is
> intended to become a primary (only?) testing tools from now on. It replaces
> and deprecates right away following tools:
>
> BOOST_CHECK
> BOOST_CHECK_MESSAGE
> BOOST_CHECK_EQUAL,
> BOOST_CHECK_NE,
> BOOST_CHECK_LT,
> BOOST_CHECK_LE,
> BOOST_CHECK_GT,
> BOOST_CHECK_GE
This should simplify test code a lot. But, as it's now the default
tool, has any progress been made on using it with C++03 compilers?
Alex