Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 649 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 649 Bytes

integration-testing

This repository is just an example how to do integration testing in Golang with a real Database. For this repostiory case, I use MySQL and Redis. An explanation about this repository could be found in my Medium post Integration Testing With Databse In Golang

How To Run The Test

Prerequisite:

  • Docker (docker-compose)
  • go 1.11+
  • Unix environment

Locally:

$ make integration-test
# Will run the integration testing of this projects. Wait until finished.

$ make clear
# After finished, clear all the testing dependencies