Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Test : Project setting in Visual 2010
From: Oodini (svdbg_at_[hidden])
Date: 2013-04-05 03:33:16


Hello,

> Can you remove the #define BOOST_TEST_MODULE MeTest. You don't need
> that. Just do:
>
> #include <boost/test/unit_test.hpp>
> BOOST_AUTO_TEST_CASE( small_test )
>
> {
> // ...
> }

Same.

Actually, I am doing this tutorial :

http://legalizeadulthood.wordpress.com/2009/07/04/c-unit-tests-with-boost-test-part-1/
http://legalizeadulthood.wordpress.com/2009/07/05/c-unit-tests-with-boost-test-part-2/

And at the end of the page 2, I get "test tree is empty" : the OneHasNoFactors is not seen.


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