You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -105,3 +105,16 @@ below are temporary and better ones will be coming.
105
105
```sh
106
106
bazel run //src/test/java/com/google/api/generator/engine:JavaCodeGeneratorTest_update
107
107
```
108
+
109
+
- Run a single integration test for API like `Redis`, it generates Java source code using
110
+
the Java microgenerator and compares them with the goldens files in `test/integration/goldens/redis`.
111
+
112
+
```sh
113
+
bazel test //test/integration:redis
114
+
```
115
+
116
+
- Update goldens files based on code generation in integration test, for example `Redis`. It generates Java source code using the Java microgenerator and overwrites the goldens files in `test/integration/goldens/redis` based on code generation.
0 commit comments