guanw / ct-dns

service discovery with support for different storage options + http/grpc protocols (WIP)
0 stars 0 forks source link

write integration test #9

Open guanw opened 4 years ago

guanw commented 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

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 .