Boost logo

Boost :

Subject: Re: [boost] [Macro]Test Case grouping using Traits
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2014-01-13 08:02:25


Hemanth Choudary M V (RBEI/ETA1 <HemanthChoudary.MV <at> in.bosch.com>
writes:

> Following is a an example of the same:
>
> BEGIN_TEST_METHOD_ATTRIBUTE(TestMethod3)
> TEST_OWNER(L"SuperMan")
> TEST_PRIORITY(2)
> TEST_METHOD_ATTRIBUTE(L"Category",L"Slow")
> END_TEST_METHOD_ATTRIBUTE()
> TEST_METHOD(TestMethod3)
> {
> Assert::AreEqual(2,6);
> }
>
> How can this be achieved via Boost Unit Test Library?
> Are there macros to achieve the same?

Boost.Test trunk version facilitates labeling the test units. I think this
would give you similar functionality.

Regards,
Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk