Re: unit test

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/unit-test-tp13490p13492.html

On Fri, 2010-07-30 at 22:50 +0200, Kim Kuen Tang wrote:
> test cases in quantlib are registered using free functions instead of
> arguments. So i am afraid that this is not possible.
> Take a look at test-suite\utilities.hpp on line 63. It uses
> BOOST_TEST_CASE instead of BOOST_AUTO_TEST_CASE. A workaround would be u
> just comment the tests out in file quantlibtestsuite.hpp that you dont
> want to run.

Kim,
        it's been a while since I've looked at the Boost unit-test framework,
so I'm not familiar with the most recent stuff.  Would you suggest
switching to BOOST_AUTO_TEST_CASE?  If so, would you consider writing a
patch to do that?

Luigi


--

I have yet to see any problem, however complicated, which, when you
looked at it in the right way, did not become still more complicated.
-- Poul Anderson



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev