Open lam-guo opened 4 years ago
Topic: about go test,including unit test and integration TODO list:
Topic: about go test,including unit test and integration
TODO list:
[ ] unit test
[ ] integration test
Refer:
goconvey
go-mock
go-dockertest
Unit Test
Integration Test Process: 1.dockertest build docker database container 2.init database with testcase data 3.gomock outside network api 4.httptest test api 5.goconvey for test
Integration Test
Process: 1.dockertest build docker database container 2.init database with testcase data 3.gomock outside network api 4.httptest test api 5.goconvey for test
[ ] unit test
[ ] integration test
goconvey
go-mock
go-dockertest