Skip to content

Commit 482ad1d

Browse files
committed
#352 Updated unit-test project to use 0.11.1
1 parent dabdaff commit 482ad1d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

examples/unit-test-project/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include this by default (not every ml-gradle user will use ml-unit-test), so it
1010
jcenter()
1111
}
1212
dependencies {
13-
classpath "com.marklogic:ml-unit-test-client:0.11"
13+
classpath "com.marklogic:ml-unit-test-client:0.11.1"
1414
}
1515
}
1616

@@ -22,7 +22,7 @@ is a feature of ml-gradle for depending on packages of MarkLogic modules):
2222
}
2323
2424
dependencies {
25-
mlRestApi "com.marklogic:ml-unit-test-modules:0.11"
25+
mlRestApi "com.marklogic:ml-unit-test-modules:0.11.1"
2626
}
2727

2828
With those additions in place, the "mlUnitTest" task can be run. This task will use the value of mlTestRestPort to

examples/unit-test-project/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
mlGradleVersion=3.6.3
2-
mlUnitTestVersion=0.11
1+
mlGradleVersion=3.7.1
2+
mlUnitTestVersion=0.11.1
33

44
mlHost=localhost
55
mlAppName=unit-test-example

src/main/groovy/com/marklogic/gradle/MarkLogicPlugin.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ class MarkLogicPlugin implements Plugin<Project> {
283283
project.task("mlUnitTest", type: UnitTestTask, group: unitTestGroup, description: "Run tests found under /test/suites in the modules database. " +
284284
"Connects to MarkLogic via the REST API server defined by mlTestRestPort (or by mlRestPort if mlTestRestPort is not set), and uses mlRest* properties for authentication. " +
285285
"Use -PunitTestResultPath to override where test result files are written, which defaults to build/test-results/marklogic-unit-test. " +
286+
"Use -PrunCodeCoverage to enable code coverage support when running the tests. " +
286287
"Use -PrunTeardown and -PrunSuiteTeardown to control whether teardown and suite teardown scripts are run; these default to 'true' and can be set to 'false' instead. ")
287288

288289
logger.info("Finished initializing ml-gradle\n")

0 commit comments

Comments
 (0)