From: Daz DeBoer [mailto:[email protected]]
Sent: Wednesday, July 09, 2014 11:05 AM
To: [email protected]
Subject: Re: [gradle-dev] Confused by part of userguide build process

On Tue, Jul 8, 2014 at 5:13 PM, KARR, DAVID 
<[email protected]<mailto:[email protected]>> wrote:
From: Daz DeBoer 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, July 08, 2014 3:54 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: [gradle-dev] Confused by part of userguide build process
Yes, you need to update the expected output in 'userguideOutput'.
- In automated testing, the userguideOutput is compared against the actual 
output of executing the gradle command
If I run “gradle docs:userguide”, will that generate the user guide and run the 
tests?  I’m guessing not, as I would have seen errors because of this, if they 
were running.
Correct. These test that exercises the user guide samples is 
org.gradle.integtests.samples.UserGuideSamplesIntegrationTest. This will be run 
by:
'gradle :integTest:check', and you can probably use --tests to run just that 
test.

I can’t get this to work.  I tried several variations of “—tests”, but it’s 
saying “Unknown command-line option '--tests'”.  This is odd, because I 
verified with “gradle –v” that I’m using Gradle 2.0.  I also tried a couple of 
variations on “-Dtest.single=...”, but that just seemed to be ignored.  This 
would execute all of the integration tests, and it appears that most or all of 
those are failing.

Reply via email to