Boost logo

Boost Users :

From: Mark Snelling (mark.snelling_at_[hidden])
Date: 2006-01-14 03:34:57


> > I have some internal (non-exported) classes in a DLL that I want to test.
> > I'm trying to do
> > this by exporting a testInternals() function that my tester application
> > will add to it's test suite.
> >
> > The problem I'm having is that to use any of the BOOST_CHECK_??? etc
> > macros
> > I have to include the <boost/test/test_tools.hpp> file. This causes
> > undefined symbol
> > linker errors.
> >
> > Is there a way to do what I want to do?
>
> This scenario is not supported by Boost.Test 1.33.1. But it is supported by
> current CVS version. Moreover - there is new tool called boost_test_runner
> that you could use to perform the testing:
>
> boost_test_runner -test <library_name> [-init <init_func_name>]
>
> Gennadiy

Thanks, this is exactly the kind of thing I'm looking for. Is the
current CVS version expected to go in the next boost release?

Mark.


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