-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make renderURL function use fieldName function to cope with UseProtoN…
…ames params
- Loading branch information
Showing
2 changed files
with
38 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Integration test | ||
|
||
The integration test first runs `./scripts/gen-protos.sh` again to generate Typescript file for the proto `service.proto`. | ||
Then it starts `main.go` server that loads up the protos and run tests via `Karma` to verify if the generated client works properly. | ||
The JS integration test file is `integration_test.ts`. | ||
|
||
Changes on the server side needs to run `./scripts/gen-server-proto.sh` to update the protos and the implementation is in `service.go`. | ||
|
||
Changes on the test client side is in `integration_test.ts`. | ||
|
||
CI test script starts with `test-ci.sh` will make sure the client typescript file to be regenerated before running the test. |