Following on from that, there seems some overlap between your proposed asserts and Boost.Test's BOOST_CHECK_() macros. I wonder if it would be possible to have an assert handler for use in the unit test framework, and then I can use SMART_ASSERT() in both main code and in test code and only have to learn one syntax.
Indeed you can! Take a look at the things I've developed so far.
I didn't see anything specifically for this (i.e. something that updates the number of failed/passed tests, and doesn't prompt the user).
Darren
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost