[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Classpathx-discuss] ANT and JUNIT issues
From: |
Andrew Selkirk |
Subject: |
Re: [Classpathx-discuss] ANT and JUNIT issues |
Date: |
Mon, 3 Dec 2001 22:20:20 -0500 |
On December 3, 2001 05:35 am, Raif S. Naffah wrote:
> At 09:37 AM 12/3/01 +0000, Nic Ferrier wrote:
>
> <java classname="test.AllTests"
> fork="yes" taskname="junit" failonerror="true">
> <classpath>
> <pathelement location="${test.jar}"/>
> <pathelement location="${main.jar}"/>
> <pathelement location="${junit.jar}"/>
> </classpath>
> </java>
> </target>
Question for ya. I've wondered the necessitiy of the AllTests test suite
class in a junit/ant system. Instead of hard coding all the tests in a class
creating a point of failure, I find it much more useful to use ANT's power to
search for all the tests and execute them. I use a standard naming
convention on them so they are easy to find. I also allow a runtime property
if you want to dynamically generate a subset test suite:
ant test -Dtest=event
The test property (if is exists) provides a filter on the directory structure
since the packages in a class namespace are generally unique.
Have you found the same? Thoughts?
Andrew...
>
> which says:
- [Classpathx-discuss] ANT build in infobus, Andrew Selkirk, 2001/12/02
- Re: [Classpathx-discuss] ANT build in infobus, Michael Gratton, 2001/12/02
- Re: [Classpathx-discuss] ANT build in infobus, Raif S. Naffah, 2001/12/03
- [Classpathx-discuss] ANT and JUNIT issues, Nic Ferrier, 2001/12/03
- Re: [Classpathx-discuss] ANT and JUNIT issues, Raif S. Naffah, 2001/12/03
- Re: [Classpathx-discuss] ANT and JUNIT issues, Nic Ferrier, 2001/12/03
- Re: [Classpathx-discuss] ANT and JUNIT issues, Andrew Selkirk, 2001/12/03
- Re: [Classpathx-discuss] ANT and JUNIT issues, Nic Ferrier, 2001/12/04
- Re: [Classpathx-discuss] ANT and JUNIT issues,
Andrew Selkirk <=
- Re: [Classpathx-discuss] ANT and JUNIT issues, Raif S. Naffah, 2001/12/04
- Re: [Classpathx-discuss] ANT and JUNIT issues (automake???), Olivier LF, 2001/12/04
- Re: [Classpathx-discuss] ANT and JUNIT issues (automake???), Nic Ferrier, 2001/12/04
- Re: [Classpathx-discuss] ANT and JUNIT issues (automake???), Raif S. Naffah, 2001/12/04
- Re: [Classpathx-discuss] ANT and JUNIT issues (automake???), David Brownell, 2001/12/04
- Re: [Classpathx-discuss] ANT and JUNIT issues (automake???), Olivier LF, 2001/12/06
- [Classpathx-discuss] autoconf/automake, Nic Ferrier, 2001/12/06
- Re: [Classpathx-discuss] autoconf/automake, Olivier LF, 2001/12/06
- Re: [Classpathx-discuss] autoconf/automake, Nic Ferrier, 2001/12/06
- Re: [Classpathx-discuss] ANT and JUNIT issues (automake???), David Brownell, 2001/12/06