integration_tests

command
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

README

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.

Documentation

Overview

Package main is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL