title: In Boost.Test, how to obtain the name of current test?
body: <p>In <code>Boost.Test</code>, how can I obtain the name of the current auto test case?</p>
  
  <p>Example:</p>
  
  <pre><code>#include &lt;boost/test/unit_test.hpp&gt;
  BOOST_AUTO_TEST_CASE(MyTest)
  {
    std::cerr &lt;&lt; "Starting " &lt;&lt; test_name &lt;&lt; std::endl;
    // lots of code here
    std::cerr &lt;&lt; "Ending " &lt;&lt; test_name &lt;&lt; std::endl;
  }
  </code></pre>
  
  <p>In the example, I want the variable <code>test_name</code> to contain "MyTest".</p>