On 08/10/2013 07:11 PM, Gennadiy Rozental wrote:
All these will produce detailed output including values of a and b in case if assertion fails. a and b could be collections, in which case above will do per element comparison. a and b could be floating point numbers in which case above will perform comparison with predefined tolerate (predefined for the series of assertions of for the whole test case, and we will also have an ability to specify it as second argument in above assertion). All of this and much much more is the function of new "super testing tool" BOOST_TEST.
Sounds good. Assuming that my foo() function fails, how difficult is it going to be to single-step into it (without setting breakpoints inside foo) from a BOOST_TEST(foo()) line? This is a very common scenario for me.