On 01/08/2012 19:16, Jon Brisbin wrote:
>
>> Another productivity killer which we need to find a solution to, if
>> we're going to stick with Gradle, is the way it swallows System.out
>> from tests. (Well.. it goes to the output file, but not to the console).
>>
>> This is irrespective of whether you have the following:
>>
>> testLogging.showStandardStreams = true
>>
>> in your build.gradle
>>
>> I (and other users) use System.out all the time for quick one line
>> debugging of tests. It's a must that this works as expected.
Upgrade the Gradle version in gradle.properties to 1.1.
http://www.gradle.org/docs/current/release-notes#test-logging
There are some changes in this area, but not exactly the one you're
looking for. I'd still recommend inquiring as to whether there is a bug
here or not.
p
> basically:
>
> apply plugin: 'java' // adds 'test' task
>
> test {
> //configuring a system property for tests
> systemProperty 'some.prop', 'value'
>
> //tuning the included/excluded tests
> include 'org/foo/**'
> exclude 'org/boo/**'
>
> //makes the standard streams (err and out) visible at console when running tests
> testLogging.showStandardStreams = true
>
>
>
http://gradle.org/docs/current/dsl/org.gradle.api.tasks.testing.Test.html
>
> The Java plugin is worth including in your build.
>
> All you have to do to get the available tasks is run "./gradlew tasks"
> which gives the tasks and their documentation.
>
> jb
>
> --
> You received this message because you are subscribed to the Google
> Groups "vert.x" group.
> To post to this group, send an email to
ve...@googlegroups.com.
> To unsubscribe from this group, send email to
>
vertx+un...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/vertx?hl=en-GB.
--
[key:62590808]