Commits

Meikel Brandmeyer committed 960b72a

Check for project property to run only named tests

  • Participants
  • Parent commits 0477559

Comments (0)

Files changed (1)

File clojuresque/src/main/groovy/clojuresque/ClojureBasePlugin.groovy

             classesDir = project.sourceSets.main.classesDir
             dependsOn project.tasks.classes, project.configurations.testRuntime
             description = "Run Clojure tests in src/test."
+            if (project.hasProperty("clojuresque.test.vars")) {
+                tests = project.getProperty("clojuresque.test.vars").split(",")
+            }
         }
         project.tasks.test.dependsOn clojureTest
     }