Boost logo

Boost Users :

From: Noel Yap (yap_noel_at_[hidden])
Date: 2002-05-15 07:04:26


--- srivatsan raghavan <machinshin2002_at_[hidden]>
wrote:
> anyone know if there are plans to write a unit
> testing
> framework in boost?
> i've checked out unit++ , the interface doesn't seem
> very intuitive, and it seems rather feature limited
> and i kinda like CppUnit, but i get the feeling that
> since it's very similar to JUnit's interface, it's
> not
> as c++ friendly as it could be ..
> anyone know?

I haven't tried unit++. I've been using CppUnit.
Since C++ doesn't have reflection, it won't be able to
do what JUnit does (ie automagically extrapolate the
list of test cases). Although I haven't tried it, I
think a script may be written to perform this magic to
produce something consumable by CppUnit. Has anyone
seen anything like this?

All in all, though, it's not that much of a pain to
maintain the list of test cases.

Noel

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


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