Gradle doesn't offer a plain-text test report (why are you looking for one?).
What you can do is to add a test listener (`test.addTestListener(...)`) and
generate a text report yourself.

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw


Andrew Spina wrote
> 
> Hi All,
> 
> I'm migrating my build from ant to Gradle and trying to get a plain-text
> report out of my tests. In ant I have a target like this:
> 
> 
>     <target name="test" depends="deliver, cleantests">
>         <junit printsummary="yes" maxmemory="1024m" haltonfailure="yes"
> dir="${apt}" timeout="1800000">
>           <....SNIP.....>
>             <formatter type="plain"/>
>             <formatter type="xml"/>
>           <....SNIP.....>
>         </junit>
>     </target>
> 
> Gradle is generating an xml report and an HTML report already. I've done
> some Google hunting and haven't been able to find any tips on how to do
> this.
> 
> Any suggestions?
> 
> Cheers,
> 
> Andy
> 


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Can-Gradle-generate-a-plain-formatted-junit-report-tp5513404p5514083.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to