unit testing framework for c++ in boost?
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? __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com
I had trouble getting CppUnit to compile with metrowerks, and it seemed a bit too complicated anyways. The simplest unit testing framework I have found so far is here http://www.cuj.com/articles/2000/0009/0009d/0009d.htm Isn't as fancy as some of the other testers, but it does a lot with very few lines of code. ----- Original Message ----- From: srivatsan raghavan To: Boost-Users@yahoogroups.com Sent: Wednesday, May 15, 2002 12:23 AM Subject: [Boost-Users] unit testing framework for c++ in boost? 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? __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com Yahoo! Groups Sponsor ADVERTISEMENT Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed]
--- In Boost-Users@y..., srivatsan raghavan
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?
Hi A friend has asked my to post this link: http://www.crickett.co.uk/downloads/ He is developing a unit testing framework. :-) Regards Paul
Since boost concept_check is designed not to compile for "bad" input, I think a good unit testing framework will need to handle expected non-compilable code. Has anyone seen a framework that can do this? Noel __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com
At 03:23 AM 5/15/2002, srivatsan raghavan wrote:
anyone know if there are plans to write a unit testing framework in boost?
One has already been reviewed and accepted. It is in the CVS under the branch "unit_test_development". The plan is to merge into the main branch soon after 1.28.0 ships later this week. Integration is a bit difficult because it requires a library, and that in turn requires the new jam-based regression testing system. --Beman
--- srivatsan raghavan
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
On Wed, 15 May 2002, Noel Yap wrote:
--- srivatsan raghavan
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?
this issue has been discussed on the cppunit-mailinglist:
http://sourceforge.net/mailarchive/forum.php?thread_id=588740&forum_id=6698
Regards,
Volker
--
Volker Boerchers
participants (6)
-
Beman Dawes
-
Noel Yap
-
paulgrenyer
-
Sean Shubin
-
srivatsan raghavan
-
Volker Boerchers