https://github.com/nikita-filonov/sample_go_grpc_testing
https://github.com/nikita-filonov/sample_go_grpc_testing
allure allure-report api go golang grpc grpc-go test-automation testing
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikita-filonov/sample_go_grpc_testing
- Owner: Nikita-Filonov
- License: apache-2.0
- Created: 2023-05-20T20:26:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-10T06:52:03.000Z (about 3 years ago)
- Last Synced: 2025-08-08T12:37:53.570Z (11 months ago)
- Topics: allure, allure-report, api, go, golang, grpc, grpc-go, test-automation, testing
- Language: Go
- Homepage:
- Size: 974 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go GRPC testing
Sample of GRPC tests written on go
[Demo allure report](https://nikita-filonov.github.io/sample_go_grpc_testing/)
## Setup project
You have to install [go](https://go.dev/doc/install)
Clone the project and install go packages
```shell
git clone https://github.com/Nikita-Filonov/sample_go_grpc_testing.git`
cd ./sample_go_grpc_testing
go mod download
```
## Run tests
```shell
make test
```
If you want to run tests without make file, then make sure env variable are set
```shell
export ENV=local
export ALLURE_RESULTS_PATH=.
go test ./tests -v -timeout 2m
```
Generate allure report
```shell
cd tests
allure generate
```
Serve allure report
```shell
cd tests
allure serve
```