ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Seeing log output when running tests with AntUnit
Date Mon, 04 Jun 2007 12:25:31 GMT
Paul.Mackay@nokia.com wrote:
>  >It's being saved to a log where you can make assertions about 
>> output text, using <au:assertLogContains> assertion, which 
>> itself uses the the <au:logContains> condition
> 
> How would I print the content of that log?
> 
>> Maybe we could tweak antunit also print the buffer on an 
>> assertion failure, but generally I just run the target by hand 
>> when I want to see the output.
> 
> My issue is that from the test target I get this output:
> 
>   [antunit] Target: test-foo  caused an ERROR
>   [antunit]     at line 9, column 15
>   [antunit]     Message: condition satisfied
>   [antunit]     took 0.031 sec
> 
> The test has a complex condition in it, it would be useful to get more
> output on what the condition evaluation is.
> 

well, find the file and go

ant test-foo -v

-steve



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message