Skip to content

Commit 082184e

Browse files
Add more testing instructions
1 parent a8e7132 commit 082184e

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,21 @@ The SDK should be written in Java using Java 8.
2121
To format code run:
2222

2323
```bash
24-
./gradlew spotlessApply
24+
./gradlew --offline spotlessApply
2525
```
2626

2727
To test the SDK run:
2828

2929
```bash
30-
./gradlew --offline temporal-sdk:test
30+
./gradlew :temporal-sdk:test --offline --tests "io.temporal.workflow.*"
3131
```
3232

33-
running all tests can take a long time
33+
running all tests can take a long time
34+
35+
To test a new test you added run
36+
37+
```bash
38+
./gradlew :temporal-sdk:test --offline --tests "$TEST"
39+
```
40+
41+
where $TEST is the name of the test including the package.

0 commit comments

Comments
 (0)