Boost.Test: access name of test case within that case?

16 Nov
2009
16 Nov
'09
2:32 p.m.
(Previously mis-posted in Boost.testing) Hi, I'm wondering if the name of a Boost.Test test case is available within that case, and if so how. Couldn't find it in the documentation, the list, a web search, nor by a quick browse of the sources. Thanks for any reply , -- Martin Moene, http://www.eld.physics.LeidenUniv.nl/~moene/

16 Nov
16 Nov
4:22 p.m.
New subject: Boost.Test: access name of test case within that case?
Martin Moene
(Previously mis-posted in Boost.testing)
Hi,
I'm wondering if the name of a Boost.Test test case is available within that case,
Use framework::current_test_case() to access test_case const&, which has p_name property. Gennadiy
5578
Age (days ago)
5578
Last active (days ago)
1 comments
2 participants
participants (2)
-
Gennadiy Rozental
-
Martin Moene