c++boost-unit-test-framework

What does BOOST_TEST_PASSPOINT do?


Can anyone tell me what the function of BOOST_TEST_PASSPOINT is? The official documentation links to the wrong page, and has for the past four years.


Solution

  • Yikes! It's bizarre that the documentation would be so difficult to fix.

    The macro BOOST_TEST_PASSPOINT() is a parameter-less equivalent to BOOST_TEST_CHECKPOINT().

    If a test error happens, the line of the last checkpoint will printed.