Skip to content

Commit 75741a7

Browse files
committed
#534 added notes on how to run plugin unit tests
1 parent b3723c3 commit 75741a7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,18 @@ plugins {
8080
apply plugin: "com.marklogic.ml-data-hub"
8181
```
8282

83+
To run the plugin's unit tests, cd to the ml-data-hub-plugin directory, then:
84+
85+
Run all unit tests
86+
87+
../gradlew test
88+
89+
90+
Run one unit test
91+
92+
../gradlew -Dtest.single=CreateEntityTask test
93+
94+
8395
**Note**: This change goes in a DHF project's build.gradle. Not the DHF source code's build.gradle.
8496

8597
#### Running the QuickStart UI from source

0 commit comments

Comments
 (0)