Yes we run JUnit tests from Ant.
Regards,
Richard Wilkinson
-Original Message-
From: Cornellious Mann [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 02, 2001 4:11 PM
To: [EMAIL PROTECTED]
Subject: Can Ant run JUnit suites?
Has anyone run a JUnit test suite class from Ant? I
didn't
I am asking specifically about test suites, and not
regular test classes. I already have Ant running
regular test classes. However, in JUnit, suites can
be used to run a group of test classes and allows for
some additional functionality. I am wondering if Ant
can run these suites.
---
hi!
with the junit task this should be no problem.
i have a class AllTests with a member suite() :
public class AllTests
{
public static Test suite()
{
TestSuite suite = new TestSuite();
suite.addTest(LoggingTestSuite.suite());
very definitely,
you might like to look at the jboss testsuite build.xml to see how we do
our tests. I don't think a suite is any different from any other TestCase,
is it?
david jencks
On 2001.10.02 11:10:45 -0400 Cornellious Mann wrote:
Has anyone run a JUnit test suite class from Ant? I