Skip to content

Commit

Permalink
update readme (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhenliu-gg5 committed Oct 7, 2020
1 parent e2702c5 commit 92703d8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,23 @@ below are temporary and better ones will be coming.
```sh
bazel run :google_java_format
```
## Test Running
- Run all unit tests.
```sh
bazel test //...
```
- Run a single unit test like `JavaCodeGeneratorTest.java`
```sh
bazel run //src/test/java/com/google/api/generator/engine:JavaCodeGeneratorTest
```
- Update goldens files based on code generation in unit test, for example `JavaCodeGeneratorTest.java`
```sh
bazel run //src/test/java/com/google/api/generator/engine:JavaCodeGeneratorTest_update
```

0 comments on commit 92703d8

Please sign in to comment.