incubator-easyant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@hibnet.org>
Subject Re: Easyant Plugin's test
Date Thu, 26 Jul 2012 12:52:27 GMT
Good job Jean-Louis !

Nicolas

Le 25 juil. 2012 à 21:14, Jean-Louis Boudart a écrit :

> All target of checkstyle plugin are now tested using antunit :).
> Our test :
> - configure easyant-ivy-instance  (using a new ant task)
> - import the local plugin (checkstyle in our example) all magic property
> and variables are set (like the dynamic classpath containing plugin
> dependencies)
> - uses antunit to check if targets do their jobs.
> 
> The major difficulty was to find an easy way to configure easyant and to
> load the local plugin (the one you want to test).
> 
> You can check at checkstyle's plugin sources to see how to do it.  I'll
> update the documentation.
> 
> Now that major job is done i'll start implementing test for others plugins.
> 
> Cheers,
> 2012/7/24 Jean-Louis Boudart <jeanlouis.boudart@gmail.com>
> 
>> Dear EasyAnters,
>> 
>> I've just updated commited a new ant task to easyant plugin writers named
>> "import-test-module". This task is designed to simplify test of your
>> plugins.
>> If you want to look what it looks like you could just check the checkstyle
>> plugin's test [1].
>> 
>> I'm planning to implements autunit test for all plugins before the
>> release, help would be really appreciated ;).
>> 
>> [1]
>> https://github.com/easyant/checkstyle-plugin/blob/master/src/test/antunit/checkstyle-test.xml
>> 
>> 
>> --
>> Jean Louis Boudart
>> Independent consultant
>> Apache EasyAnt commiter http://incubator.apache.org/easyant/
>> 
> 
> 
> 
> -- 
> Jean Louis Boudart
> Independent consultant
> Apache EasyAnt commiter http://incubator.apache.org/easyant/


Mime
View raw message