|
Boost Users : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-02-07 17:08:38
"Ranji Raghavan" <ranji.raghavan_at_[hidden]> wrote in message
news:000a01c74a28$df145f30$e90a0a0a_at_openspirit.com...
> Actually, I am just looking into BOOST reading the documentation etc
> Do you recommend any particular version of BOOST that I should install and
> play with?
I recommend you to use the latest version. Try 1.34 RC.
> I am looking to define all the test data in XML files - maybe
> 1000's of them - have a class that parses this XML file (some tests have
> about 7-8 pieces of disparate primitive data types string, double, int
> etc)and pass the array of class instances to a test method for repetitive
> testing. If this is not pragmatic, could you recommend another way?
Use BOOST_PARAM_TEST_CASE. It works differently in latest version then
before. You will have less problems with parametrs object lifetime
management.
Let me know if you have any problems.
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