I want to write an integration test that uses MySQL to test my queries. How to do this in golang?
This contains few questions:
- How to setup MySQL (in-memory?) server in golang test?
- How to clean/recreate data model before/after each test so that they do not leave garbage behind?
- How to tear down mysql after all the tests are done?
Aucun commentaire:
Enregistrer un commentaire