No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 91d1150 Jan 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
models feat: add to git (#1) Jan 15, 2019
mysql feat: add travis (#2) Jan 15, 2019
redis feat: add to git (#1) Jan 15, 2019
.gitignore feat: add to git (#1) Jan 15, 2019
.travis.yml feat: add travis (#2) Jan 15, 2019
LICENSE Initial commit Jan 15, 2019
Makefile feat: add travis (#2) Jan 15, 2019
README.md Update README.md Jan 30, 2019
docker-compose.yaml
go.mod feat: add travis (#2) Jan 15, 2019
go.sum feat: add to git (#1) Jan 15, 2019

README.md

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