Skip to content

Commit

Permalink
run failing tests in isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Jan 8, 2014
1 parent 34db156 commit 86fad53
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions grails-test-suite-uber/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ test {
"**/SetupTeardownInvokeTests.class",
"**/TestMixinSetupTeardownInvokeTests.class",
"**/UrlMappingsTestMixinTests.class",
"**/WebUtilsTests.class"
"**/WebUtilsTests.class",
"**/RestfulControllerSpec.class",
"**/ResourceAnnotationRestfulControllerSpec.class"
]
}

Expand Down Expand Up @@ -88,5 +90,10 @@ task isolatedRestRendererTests(type:Test) {
includes = ['**/rest/render/**/*Spec.class']
}

test.dependsOn isolatedTestsOne, isolatedTestsTwo, isolatedRestRendererTests
task isolatedRestfulControllerTests(type:Test) {
includes = ["**/RestfulControllerSpec.class",
"**/ResourceAnnotationRestfulControllerSpec.class"]
}

test.dependsOn isolatedTestsOne, isolatedTestsTwo, isolatedRestRendererTests, isolatedRestfulControllerTests

0 comments on commit 86fad53

Please sign in to comment.