Boost logo

Boost :

Subject: Re: [boost] Boost.Test updates in trunk: need for (mini) review?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2012-10-31 12:58:35


On 29-10-2012 11:50, Thorsten Ottosen wrote:

> That seems like a lot of nice improvements. However, there is one thing
> that could save a lot of time for us, and that's the ability to
> run a specific test as the first one.
>
> Is that hard to add?
>

Another issue. It would be cool to be able to give access to private
members in the unit test. So given

BOOST_AUTO_TEST_CASE( testMyClass )
{
  ...
}

I would be able to test private functions with:

class MyClass
{
    friend void boost::test::testMyClass();
    // or
    friend class boost::test::access;
};

or something.

Would this be possible?

kind regards

-Thorsten


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