Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Test: access name of test case within that case?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-11-16 11:22:59


Martin Moene <m.j.moene <at> eld.physics.LeidenUniv.nl> writes:

>
> (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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net