Visitar URL original
update readme (#362) · googleapis/sdk-platform-java@92703d8 · GitHub
Skip to content
This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Commit 92703d8

Browse files
update readme (#362)
1 parent e2702c5 commit 92703d8

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎DEVELOPMENT.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,23 @@ below are temporary and better ones will be coming.
8585
```sh
8686
bazel run :google_java_format
8787
```
88+
89+
## Test Running
90+
91+
- Run all unit tests.
92+
93+
```sh
94+
bazel test //...
95+
```
96+
97+
- Run a single unit test like `JavaCodeGeneratorTest.java`
98+
99+
```sh
100+
bazel run //src/test/java/com/google/api/generator/engine:JavaCodeGeneratorTest
101+
```
102+
103+
- Update goldens files based on code generation in unit test, for example `JavaCodeGeneratorTest.java`
104+
105+
```sh
106+
bazel run //src/test/java/com/google/api/generator/engine:JavaCodeGeneratorTest_update
107+
```

0 commit comments

Comments
 (0)