> 1) I'm not sure which branch is the "current" one. Ideally I'd like to
> be using a branch based off master. I see there are lots of branches:

> 4) If I use the --tests option to specify a single test class to run,
> and the class does not exist (I made a booboo, say), the build runs no
> tests, and succeeds, but this is misleading: it should fail instead,
> as the ant build does. Again, not a blocker, but if anybody knows how
> to fix this, it would be great. I'll open an issue anyway.

I think the reason is that when you run an unqualified task against a
multi-project module all tasks of the given name (from all
subprojects) will be ordered and executed. This means that when you
run:

gradlew test --tests Foo

then some projects would end up failing the build because of zero
tests. This could be fixed by not failing on individual test tasks,
adding a listener and check the number of tests executed (from all
projects) after the build completes.

D.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to