{"id":21036490,"url":"https://github.com/moemoe89/integration-test-golang","last_synced_at":"2025-05-15T14:31:52.977Z","repository":{"id":45812481,"uuid":"271815395","full_name":"moemoe89/integration-test-golang","owner":"moemoe89","description":"🦴 Integration Test using Dockertest for my Medium story material ","archived":false,"fork":false,"pushed_at":"2020-12-30T07:08:31.000Z","size":19,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T06:54:13.069Z","etag":null,"topics":["dockertest","dokcer","go","golang","integration-testing","mysql","postgresql"],"latest_commit_sha":null,"homepage":"https://medium.com/easyread/59ed3b35240e","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moemoe89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-12T14:18:34.000Z","updated_at":"2024-03-27T21:18:01.000Z","dependencies_parsed_at":"2022-08-01T00:37:56.831Z","dependency_job_id":null,"html_url":"https://github.com/moemoe89/integration-test-golang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fintegration-test-golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fintegration-test-golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fintegration-test-golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fintegration-test-golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moemoe89","download_url":"https://codeload.github.com/moemoe89/integration-test-golang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225358037,"owners_count":17461776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dockertest","dokcer","go","golang","integration-testing","mysql","postgresql"],"created_at":"2024-11-19T13:20:21.649Z","updated_at":"2024-11-19T13:20:22.359Z","avatar_url":"https://github.com/moemoe89.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/moemoe89/integration-test-golang.svg?branch=master)](https://travis-ci.org/moemoe89/integration-test-golang)\n[![codecov](https://codecov.io/gh/moemoe89/integration-test-golang/branch/master/graph/badge.svg)](https://codecov.io/gh/moemoe89/integration-test-golang)\n[![Go Report Card](https://goreportcard.com/badge/github.com/moemoe89/integration-test-golang)](https://goreportcard.com/report/github.com/moemoe89/integration-test-golang)\n\n# INTEGRATION-TEST-GOLANG #\n\nExample integration test using Dockertest\n\n## Directory structure\nYour project directory structure should look like this\n```\n  + your_gopath/\n  |\n  +--+ src/github.com/moemoe89\n  |  |\n  |  +--+ integration-test-golang/\n  |     |\n  |     +--+ main.go\n  |        + repository/\n  |        |\n  |        +--+ repository.go\n  |        |\n  |        +--+ cassandra\n  |        |  |\n  |        |  +--+ cassandra.go\n  |        |     + cassandra_test.go\n  |        +--+ mysql\n  |        |  |\n  |        |  +--+ mysql.go\n  |        |     + mysql_test.go\n  |        |\n  |        +--+ postgres\n  |           |\n  |           +--+ postgres.go\n  |              + postgres_test.go\n  |\n  +--+ bin/\n  |  |\n  |  +-- ... executable file\n  |\n  +--+ pkg/\n     |\n     +-- ... all dependency_library required\n\n```\n\n## Setup\n\n* Setup Golang \u003chttps://golang.org\u003e\n* Setup Docker \u003chttps://www.docker.com\u003e\n* Under `$GOPATH`, do the following command :\n```\n$ mkdir -p src/github.com/moemoe89\n$ cd src/github.com/moemoe89\n$ git clone \u003curl\u003e\n$ mv \u003ccloned directory\u003e integration-test-golang\n```\n\n## How to Run Test\n```\n$ go test ./...\n```\nor\n```\n$ make test\n```\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoemoe89%2Fintegration-test-golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoemoe89%2Fintegration-test-golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoemoe89%2Fintegration-test-golang/lists"}