On 5/4/07, Stefan Bodewig <[EMAIL PROTECTED]> wrote:
On Fri, 4 May 2007, Gilles Scokart <[EMAIL PROTECTED]> wrote:
> Did you have example of how the logging is tested. I mean, is there
> already some unit test that tests that ivy produce some particular
> error or warning message?
Not knowing anything about the code I can show my ignorance and advice
to use AntUnit and its assertLogContains assertion for the Ant tasks.
8-)
Yes, using AntUnit would be a nice addition to current Ivy set of unit
tests. However this works only to test ant tasks, and in other cases
the MockMessageImpl will help I think.
Xavier
Stefan
--
Learn Ivy at ApacheCon: http://www.eu.apachecon.com/
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/