Boost logo

Boost Users :

Subject: Re: [Boost-users] boost UTF suite namespace collision with user class names
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2012-09-01 23:08:13


Aras Vaichas <aras.vaichas <at> gmail.com> writes:

>
> Hello,
>
> I've just started using the Boost Unit Test Framework so my problem
> may be a bit naive.
>
> I would like to name each test suite after each of my classes.
>
> e.g.
>
> class foo { }
>
> BOOST_AUTO_TEST_SUITE(foo)

Why don't you use test suite name foo_test(s)?

Naming test suites the same as the component under test is not a good practice
IMO.

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