Open guanw opened 4 years ago
https://semaphoreci.com/community/tutorials/how-to-perform-integration-testing-on-go-applications-with-docker specify // +build integration in xxx_test.go file and use go test -tags integration to run integration
// +build integration
go test -tags integration
https://www.philosophicalhacker.com/post/integration-tests-in-go/
https://stackoverflow.com/questions/25965584/separating-unit-tests-and-integration-tests-in-go/25970712
this is kind of blocked by #36 .
https://semaphoreci.com/community/tutorials/how-to-perform-integration-testing-on-go-applications-with-docker specify
// +build integration
in xxx_test.go file and usego test -tags integration
to run integrationhttps://www.philosophicalhacker.com/post/integration-tests-in-go/
https://stackoverflow.com/questions/25965584/separating-unit-tests-and-integration-tests-in-go/25970712
this is kind of blocked by #36 .