integration-testing

module
v0.0.0-...-91d1150 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2019 License: MIT

README

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL