lam-guo / water_essay

水文专场
0 stars 0 forks source link

go test(unit test & integration test) #3

Open lam-guo opened 4 years ago

lam-guo commented 4 years ago

Topic: about go test,including unit test and integration

TODO list:

Refer:

lam-guo commented 4 years ago

Unit Test

lam-guo commented 4 years ago

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