From c569ce652560a73992c8a1452f926945844b9a1a Mon Sep 17 00:00:00 2001 From: roggerj Date: Thu, 7 Sep 2017 16:59:17 +0700 Subject: [PATCH] #162: stabilize some integration tests --- gateleen-test/build.gradle | 36 +++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/gateleen-test/build.gradle b/gateleen-test/build.gradle index 99f88c44c..396216442 100644 --- a/gateleen-test/build.gradle +++ b/gateleen-test/build.gradle @@ -50,11 +50,37 @@ dependencies { } test { + onlyIf { + project.hasProperty("integrationTests") + } +} + +//test { // onlyIf { // project.hasProperty("integrationTests") // } - filter { - //specific test class, wildcard for packages - includeTestsMatching "*.HookJsUITest" - } -} \ No newline at end of file +// +// exclude "*.HookJsUITest" +// +// filter { +// //specific test class, wildcard for packages +// includeTestsMatching "*.RouteTest" +// includeTestsMatching "*.HookJsUITest" +// } +//} + +//task integrationTests { +// +// if (project.hasProperty("nonUiTests")) { +// tasks.gateleen-test.test +// } +// +// filter { +// onlyIf { +// project.hasProperty("onlyUITests") +// } +// //specific test class, wildcard for packages +// includeTestsMatching "*.HookJsUITest" +// } +// +//} \ No newline at end of file