Thread: [Cppunit-devel] Release 1.8.0 ?
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2001-10-08 12:21:42
|
Well, there a load of new stuffs... If everything is ok on the Unix side, we should try for the release, no ? What do you think Steve ? Baptiste. --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html Language: English, French |
From: Steve M. R. <ste...@vi...> - 2001-10-19 01:59:19
|
Hi all, I discovered that cppunit 1.6.1 won't install properly on a system that lacks "doxygen". So I started a 1.6 branch in CVS and committed the fix. I'll make a 1.6.2 release on the weekend if I get time. Is there anything else that ought to be addressed? To get the 1.6 branch, I'd suggest finding a clean spot and doing a new checkout. You need to give the "-r BRANCH_1_6" option to cvs: cvs -d xx...@cv...:/cvsroot/cppunit \ checkout -r BRANCH_1_6 -d cppunit-1.6branch cppunit Remember that commits in that directory will go on the BRANCH_1_6 branch, *not* on the main trunk. On Mon, Oct 08, 2001 at 02:21:38PM +0200, Baptiste Lepilleur wrote: > Well, there a load of new stuffs... If everything is ok on the > Unix side, we should try for the release, no ? Eh, well I can build it and "make check" reports no failures (104 tests), so things look good on the unix side. That's only one platform (Linux), mind you. Since we've recently run into problems with Solaris compilers, it would be nice if a Solaris person would test things out. Any takers? We could make a 1.7.0 tarball as a snapshot of the current development tree -- would that help? > What do you think Steve ? I don't understand what you've done! :-) I'm getting a bit worried that the "test runner" stuff is getting out of hand. Once upon a time I posted a sketch of how to rework the classes to (in my view) drastically simplify the "runner" code and make it trivial to implement output by writing a simple "listener" class. See http://www.geocrawler.com/archives/3/6780/2001/7/0/6126118/ What do you think of the proposals contained therein? How have your recent changes modified this? And there is also the issue of TestCaller versus fixtures, c.f. the thread starting from http://www.geocrawler.com/archives/3/6780/2001/7/0/6126116/ I'd really like to have this cleaned up for 1.8. And hopefully I'd be able to understand CppUnit well enough to write some documentation ... On Fri, Oct 12, 2001 at 05:14:48PM +0200, Baptiste Lepilleur wrote: > > I contacted Ron, we are now referenced on: > > http://www.xprogramming.com/software.htm > > Which list "all" know Unit testing framework. Thanks for that! -S -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants |
From: Baptiste L. <gai...@fr...> - 2001-10-19 13:17:12
|
Quoting "Steve M. Robbins" <ste...@vi...>: > Hi all, > > I discovered that cppunit 1.6.1 won't install properly on a system > that lacks "doxygen". So I started a 1.6 branch in CVS and committed > the fix. I'll make a 1.6.2 release on the weekend if I get time. Is > there anything else that ought to be addressed? > > To get the 1.6 branch, I'd suggest finding a clean spot and doing > a new checkout. You need to give the "-r BRANCH_1_6" option to > cvs: > > cvs -d xx...@cv...:/cvsroot/cppunit \ > checkout -r BRANCH_1_6 -d cppunit-1.6branch cppunit > > Remember that commits in that directory will go on the BRANCH_1_6 > branch, *not* on the main trunk. > > > > > On Mon, Oct 08, 2001 at 02:21:38PM +0200, Baptiste Lepilleur wrote: > > > Well, there a load of new stuffs... If everything is ok on the > > Unix side, we should try for the release, no ? > > Eh, well I can build it and "make check" reports no failures (104 > tests), so things look good on the unix side. That's only one > platform (Linux), mind you. Since we've recently run into problems > with Solaris compilers, it would be nice if a Solaris person would > test things out. > > Any takers? > > We could make a 1.7.0 tarball as a snapshot of the current development > tree -- would that help? We need to readd throw() to Exception::what(). I add mistakenly removed it during my quest to find the Exception::operator =() problemon VC++, and forgot to change it back. > > What do you think Steve ? > > I don't understand what you've done! :-) Which feature are you refering to ? > I'm getting a bit worried that the "test runner" stuff is getting out > of hand. Once upon a time I posted a sketch of how to rework the > classes to (in my view) drastically simplify the "runner" code and > make it trivial to implement output by writing a simple "listener" > class. See > > http://www.geocrawler.com/archives/3/6780/2001/7/0/6126118/ > > What do you think of the proposals contained therein? How have > your recent changes modified this? There is simplification, but some complexity have been "added" to stay backward compatible. I would go for only the following functionnality: - give me the list of the failures, - give me the list of testcase that has been run, - give me the number of tests run, - give me the number of failures. => before, TestResult stored two kinds of failures: failure and error. Because of this, there was a lot of code duplication in "user" code of TestResult. Now, failure kind is stored in TestFailure. > And there is also the issue of TestCaller versus fixtures, c.f. > the thread starting from > > http://www.geocrawler.com/archives/3/6780/2001/7/0/6126116/ Your test runner proposition sound goods. My self, I found two kinds of user for TestResult: - Listeners, which provides dynamic feed back during the run (progress) - Outputters, which print report based on the list of failures and run tests (since they might print them in an order that don't match the run, grouping all the sucessful tests together for example, they do their 'thing' after all the tests have been run). > I'd really like to have this cleaned up for 1.8. And hopefully I'd be > able to understand CppUnit well enough to write some documentation ... I can't see that done really quickly. So I would prefer to go for 1.8 (release often), then tackle that issue. The CompilerOutputter and assertion helper are so useful! I can't see how anybody can live without them ;-) Baptiste. --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html Language: English, French |
From: Steve M. R. <ste...@vi...> - 2001-10-19 20:59:34
|
On Fri, Oct 19, 2001 at 03:17:08PM +0200, Baptiste Lepilleur wrote: > Quoting "Steve M. Robbins" <ste...@vi...>: > > > Hi all, > > > > I discovered that cppunit 1.6.1 won't install properly on a system > > that lacks "doxygen". So I started a 1.6 branch in CVS and committed > > the fix. I'll make a 1.6.2 release on the weekend if I get time. Is > > there anything else that ought to be addressed? I just found another bug today. SGI CC chokes without this patch: --- examples/cppunittest/TestSetUpTest.h 2001/06/11 19:56:23 1.1 +++ examples/cppunittest/TestSetUpTest.h 2001/10/19 20:45:01 @@ -26,7 +26,7 @@ { public: SetUp( CppUnit::Test *test ) : - TestSetUp( test ), + CppUnit::TestSetUp( test ), m_setUpCalled( false ), m_tearDownCalled( false ) { This will also go into 1.6.2. Anything else? > > On Mon, Oct 08, 2001 at 02:21:38PM +0200, Baptiste Lepilleur wrote: > We need to readd throw() to Exception::what(). I add mistakenly removed it > during my quest to find the Exception::operator =() problemon VC++, and forgot > to change it back. OK. What I propose is to make a snapshot of the CVS tree, tag it 1.7.0, and make it available as an "alpha" version. My suspicion is, that aside from you, few people are using the CVS version (I'm not using it, for instance). If I do that Sunday evening, will you have time to stabilize current CVS? > > > What do you think Steve ? > > > > I don't understand what you've done! :-) > > Which feature are you refering to ? All of them! It's my fault: I haven't been paying attention to cppunit until a couple of days ago. So I haven't gone through the several entries in the NEWS file to understand what has happened. > Your test runner proposition sound goods. My self, I found two kinds of user > for TestResult: > - Listeners, which provides dynamic feed back during the run (progress) > - Outputters, which print report based on the list of failures and run tests > (since they might print them in an order that don't match the run, grouping all > the sucessful tests together for example, they do their 'thing' after all the > tests have been run). Yes, that agrees with my experience. I might be tempted to call the latter category "reporters" or a test "summary" rather than "outputters". > > I'd really like to have this cleaned up for 1.8. And hopefully I'd be > > able to understand CppUnit well enough to write some documentation ... > > I can't see that done really quickly. So I would prefer to go for 1.8 > (release often), then tackle that issue. The CompilerOutputter and assertion > helper are so useful! I can't see how anybody can live without them ;-) Yes, you could be right. Still, I'd like to give it a week to see if we can get something done. If no progress happens before the end of next weekend, then we'll postpone it. How does that sound? -S -- by Rocket to the Moon, by Airplane to the Rocket, by Taxi to the Airport, by Frontdoor to the Taxi, by throwing back the blanket and laying down the legs ... - They Might Be Giants |
From: Baptiste L. <bl...@cl...> - 2001-10-20 09:31:41
|
----- Original Message ----- From: "Steve M. Robbins" <ste...@vi...> To: "Cpp Unit Develpment Mailing List" <cpp...@li...> Sent: Friday, October 19, 2001 10:59 PM Subject: Re: [Cppunit-devel] Release 1.8.0 ? > On Fri, Oct 19, 2001 at 03:17:08PM +0200, Baptiste Lepilleur wrote: > > Quoting "Steve M. Robbins" <ste...@vi...>: [...] > OK. What I propose is to make a snapshot of the CVS tree, tag it > 1.7.0, and make it available as an "alpha" version. My suspicion is, > that aside from you, few people are using the CVS version (I'm not > using it, for instance). > > If I do that Sunday evening, will you have time to stabilize current > CVS? I fixed the what() throw() thing. There should also be 117 test running. Means that there is still some missing in the makefile. Sight... This time I did add the makefile to the VC project to update when I added file. Last time we found those missing file by building the dist. So, go ahead. --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html Author of The Text Reformatter, a tool for fanfiction readers and writers. Language: English, French (Well, I'm French). |