Skip to content

Nikita-Filonov/sample_go_grpc_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go GRPC testing

Sample of GRPC tests written on go

Demo allure report

Setup project

You have to install go

Clone the project and install go packages

git clone https://github.com/Nikita-Filonov/sample_go_grpc_testing.git`
cd ./sample_go_grpc_testing
go mod download

Run tests

make test

If you want to run tests without make file, then make sure env variable are set

export ENV=local
export ALLURE_RESULTS_PATH=.

go test ./tests -v -timeout 2m

Generate allure report

cd tests
allure generate

Serve allure report

cd tests
allure serve