Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 46289 invoked by uid 500); 5 Nov 2001 21:30:59 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 46280 invoked from network); 5 Nov 2001 21:30:59 -0000 Importance: Normal Subject: RE: Test question To: axis-dev@xml.apache.org X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: From: "Doug Davis" Date: Mon, 5 Nov 2001 16:29:42 -0500 X-MIMETrack: Serialize by Router on D04NM204/04/M/IBM(Release 5.0.8 |June 18, 2001) at 11/05/2001 04:29:42 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yup - if that doesn't fix it - try pointing to the classes dir instead of the jar file. -Dug Mark Roder on 11/05/2001 04:21:34 PM Please respond to axis-dev@xml.apache.org To: "'axis-dev@xml.apache.org'" cc: Subject: RE: Test question under nt, make sure you do not have anything using that jar file running(like tcpmon). It runs into the nt sharing problems. Later Mark -----Original Message----- From: Russell Butek [mailto:butek@us.ibm.com] Sent: Monday, November 05, 2001 3:17 PM To: axis-dev@xml.apache.org Subject: RE: Test question Is 'ant clean all' what happens automagically nightly? For some reason that doesn't work for me. I've been doing 'rm -rf build' instead of 'ant clean'. Any notions? > ant clean all Buildfile: build.xml clean: [delete] Deleting directory C:\xml-axis\java\build BUILD FAILED C:\xml-axis\java\build.xml:396: Unable to delete file C: \xml-axis\java\build\lib \axis.jar Total time: 2 seconds Russell Butek butek@us.ibm.com Doug Davis/Raleigh/IBM@IBMUS on 11/05/2001 03:02:37 PM Please respond to axis-dev@xml.apache.org To: axis-dev@xml.apache.org cc: Subject: RE: Test question Just run: ant clean all -Dug Russell Butek/Austin/IBM@IBMUS on 11/05/2001 03:52:07 PM Please respond to axis-dev@xml.apache.org To: axis-dev@xml.apache.org cc: Subject: RE: Test question Ahhh... Things are a bit clearer. I wasn't aware of all-tests or junit. So before I commit major changes I should really be running ant all-tests, not ant functional-tests. Thanks for the clarification. Next questions: are all these ant variants documented somewhere? what's run automatically? ant all-tests? Russell Butek butek@us.ibm.com Glen Daniels on 11/05/2001 10:06:36 AM Please respond to axis-dev@xml.apache.org To: "'axis-dev@xml.apache.org'" cc: Subject: RE: Test question Hi Russell! These are part of the unit tests, and get run with "ant junit" or "ant all-tests" or... Unit tests test small, well defined pieces of code. Functional tests test "end-to-end" system behavior, which is why we have the whole spawn-a-server-then-call-it pattern. It so happens we use JUnit as a framework for both kinds of tests. --G > -----Original Message----- > From: Russell Butek [mailto:butek@us.ibm.com] > Sent: Monday, November 05, 2001 10:46 AM > To: axis-dev@xml.apache.org > Subject: Test question > > > I'm adding the getMessage methods to JavaUtil and I thought I > ought to have > a test for them. Since JavaUtil is in the utils directory > and there is a > test/utils directory for utils tests, I figured I could put > it here and > call it from test.utils.PackageTests. But it doesn't get run > with 'ant > functional-tests'. > > So my question is: what's the testing philosophy here? Is > the stuff in > test/utils (and presumably most of test/*/*.java) meant to be run at > someone's convenience and not part of the functional tests? > > I think all the test should be part of the functional-tests, > but I don't > know the philosophy here. Could someone enlighten me? I would have > expected to see a line in test/functional/FunctionalTests like: > > suite.addTestSuite(test.utils.PackageTests.class); > > Russell Butek > butek@us.ibm.com >