command
module
Version:
v0.0.0-...-fcca175
Opens a new window with list of versions in this module.
Published: Dec 30, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶

INTEGRATION-TEST-GOLANG
Example integration test using Dockertest
Directory structure
Your project directory structure should look like this
+ your_gopath/
|
+--+ src/github.com/moemoe89
| |
| +--+ integration-test-golang/
| |
| +--+ main.go
| + repository/
| |
| +--+ repository.go
| |
| +--+ cassandra
| | |
| | +--+ cassandra.go
| | + cassandra_test.go
| +--+ mysql
| | |
| | +--+ mysql.go
| | + mysql_test.go
| |
| +--+ postgres
| |
| +--+ postgres.go
| + postgres_test.go
|
+--+ bin/
| |
| +-- ... executable file
|
+--+ pkg/
|
+-- ... all dependency_library required
Setup
$ mkdir -p src/github.com/moemoe89
$ cd src/github.com/moemoe89
$ git clone <url>
$ mv <cloned directory> integration-test-golang
How to Run Test
$ go test ./...
or
$ make test
License
MIT
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.