[GRADLE-1064] Provide built-in support for executing a single test Created: 28/Jul/10 Updated: 04/Jan/13 Resolved: 24/Nov/10
|Reporter:||Chris Beams||Assignee:||Hans Dockter|
A use case here would be that a user runs all tests for a project, and notices that one fails. User attempts to fix the problem and wants to quickly re-run that test.
The Grails project built custom support for this functionality in their Gradle build, but it would be nice to have for all users.
|Comment by Hans Dockter [ 28/Jul/10 ]|
this is now possible. You need to specify -Dtest.single=MyTest :spring-rabbit:test or -D:spring-rabbit:test.single=MyTest test. The build fails if this property is set for a test task and no tests are exectued (by design).
|Comment by Chris Beams [ 28/Jul/10 ]|