Skip to content

Commit

Permalink
Grails GSP: isolated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Mar 18, 2023
1 parent aa70ce8 commit 4dfbba1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions grails-plugin-gsp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,23 @@ dependencies {
testImplementation libs.tomcat.embed.el
testImplementation libs.spring.test
}

task isolatedTestsOne(type:Test) {
includes = [
"**/FormTagLibResourceTests.class"
]
}

task isolatedTestsTwo(type:Test) {
includes = [
"**/RestfulReverseUrlRenderingTests.class"
]
}

test {
dependsOn isolatedTestsOne, isolatedTestsTwo
excludes = [
"**/FormTagLibResourceTests.class",
"**/RestfulReverseUrlRenderingTests.class"
]
}

0 comments on commit 4dfbba1

Please sign in to comment.