Hi guys!

I have just started looking at junit and its corresponding ant task and I
can say that I am very interested. Looks like a great framework.

What I want to know is if I can do the following:
- Run in a batch all classes that match a certain pattern (and here is the
problem) and are contained within a jar.

Let me explain:

I know I can use <batchtest> with a nested <fileset> to run all test that
match my pattern (say *Test). However, I anticipate that the test classes
will be contained within a jar file, so what I want is a way to run all
classes that match a certain pattern within that jar file.

Of course, I could unjar the file first, then run the junit task, and then
delete the expanded classes, but I was hoping that I would not have to do
this. Any ideas?
The other thing I can think of is to declare each test seperatly, which I
REALLY don't want to do.

Any help ant thoughts will be appreciated.

Ylan Segal.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to