On Mon, Oct 10, 2011 at 6:17 PM, Adam Murdoch
<[email protected]>wrote:

>
> On 09/10/2011, at 10:39 PM, Hans Dockter wrote:
>
> A common use case in Gradle is that you want to have different
> variations of task behavior. Our goal is in general to avoid the use
> of multiple actions per task to achieve this. In any case, let's look
> at an example for variations: You want a test task that runs with and
> without coverage. This variation does often not affect the behavior of
> the executed task but rather the wiring.
>
>
> Why would you want to run the tests without coverage?
>
>
I have always run tests with and without coverage because I have seen claims
(often times by the developers of the coverage tools) that if you do not run
without coverage bugs may not get caught due to the instrumentation that
occurs. Here is an example of one such discussion [1].

[1] http://maven.40175.n5.nabble.com/Cobertura-and-Surefire-td3338334.html

Regards,
Rob Winch

Reply via email to