Re: Integration of antunit in junit

2009-01-28 Thread Stefan Bodewig
On 2009-01-28, Gilles Scokart wrote: > I have dig deeper, and it might be possible to compile enterily the > sources in a 1.4 format. You will just need to have a compiler able > to read 1.5 classes (I guess junit 4 classes are in a 1.5 class > format). They are, yes. > But I think the antunit

Re: Integration of antunit in junit

2009-01-27 Thread Gilles Scokart
OK, let's go for conditional compilation. I have dig deeper, and it might be possible to compile enterily the sources in a 1.4 format. You will just need to have a compiler able to read 1.5 classes (I guess junit 4 classes are in a 1.5 class format). But I think the antunit adapter might be plai

Re: Integration of antunit in junit

2009-01-27 Thread Stefan Bodewig
On 2009-01-27, Gilles Scokart wrote: > I finished a first step. I have refactored AntUnit task in order to > extract the logic of running the antunit tests from the logic related > to the interaction with the container project. Feedback are welcome. I like it. > I will now clean and check-in

Re: Integration of antunit in junit

2009-01-27 Thread Gilles Scokart
I finished a first step. I have refactored AntUnit task in order to extract the logic of running the antunit tests from the logic related to the interaction with the container project. Feedback are welcome. I will now clean and check-in my junit runners. But this will have some impact. The fir

Re: Integration of antunit in junit

2009-01-19 Thread Kevin Jackson
>> I already some code prepared to support this. The adaptation layer : > >> public class CompilePath extends TestCase { > >> public static TestSuite suite() { >> File script = new >> File("src/test/java/net/sourceforge/deco/ant/test-compilepath.xml"); >> return n

Re: Integration of antunit in junit

2009-01-15 Thread Stefan Bodewig
On 2009-01-14, Gilles Scokart wrote: > I already some code prepared to support this. The adaptation layer : > public class CompilePath extends TestCase { > public static TestSuite suite() { > File script = new > File("src/test/java/net/sourceforge/deco/ant/test-compilepath.

Re: Integration of antunit in junit

2009-01-15 Thread Steve Loughran
Gilles Scokart wrote: While testing ant tasks in my toy project (deco), I have used antunit. It is very useful, but I found one limitation: I couldn't not run the ant-unit tests in the junit runner of my ide. ant-testutils.jar provides some support for that, but requires to duplicate all antuni