axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Davis" <...@us.ibm.com>
Subject RE: Test question
Date Mon, 05 Nov 2001 21:29:42 GMT
Yup - if that doesn't fix it - try pointing to the classes dir instead
of the jar file.
-Dug

Mark Roder <mroder@wamnet.com> on 11/05/2001 04:21:34 PM

Please respond to axis-dev@xml.apache.org

To:   "'axis-dev@xml.apache.org'" <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 <gdaniels@macromedia.com> on 11/05/2001 10:06:36 AM

Please respond to axis-dev@xml.apache.org

To:   "'axis-dev@xml.apache.org'" <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
>








Mime
View raw message