Open supereagle opened 7 years ago
@supereagle can you please elaborate on what exactly the need is.
@supereagle can you please elaborate on what exactly the need is.
Collect some good practices for unit test in Golang. Take the codes to operate MongoDB for example, I want to run their unit tests without the need of a running MongoDB.
Test for MongoDB
There is not in-memory MongoDB for test. Mgo which is the MongoDB driver for Go, also has to run its unit test on a local MongoDB server.
References