From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-02-03 09:09:04


Hartmut Kaiser wrote:

[...]
>
> - Is there any documented migration path from BOOST_TEST? Perhaps a standard
> way to do it?

BOOST_TEST --> BOOST_CHECK
BOOST_CRITICAL_TEST --> BOOST_REQUIRE
BOOST_CRITICAL_ERROR --> BOOST_FAIL

> - Is there a version number associated with the test library, which I can
> use to handle this change correctly in my code, even in between different
> Boost versions (we'll need some time until V1.33 get's out of the door, I
> assume)? I still have to support older versions of Boost for some time.
>

Why can't you generally use the newer macros? They have been part of
boost for some releases now.

Stefan