{"id":19339755,"url":"https://github.com/rubenv/mysqltest","last_synced_at":"2026-06-18T11:31:30.804Z","repository":{"id":66156181,"uuid":"236693784","full_name":"rubenv/mysqltest","owner":"rubenv","description":"MySQL / MariaDB test helper for Go ","archived":false,"fork":false,"pushed_at":"2020-01-28T10:16:14.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T12:46:38.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rubenv.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-28T08:55:30.000Z","updated_at":"2020-01-28T10:16:16.000Z","dependencies_parsed_at":"2023-02-21T02:15:51.131Z","dependency_job_id":null,"html_url":"https://github.com/rubenv/mysqltest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rubenv/mysqltest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenv%2Fmysqltest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenv%2Fmysqltest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenv%2Fmysqltest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenv%2Fmysqltest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubenv","download_url":"https://codeload.github.com/rubenv/mysqltest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenv%2Fmysqltest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34489019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-10T03:23:44.081Z","updated_at":"2026-06-18T11:31:30.223Z","avatar_url":"https://github.com/rubenv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mysqltest\n\n\u003e Go library to spawn single-use MySQL / MariaDB servers for unit testing\n\n[![Build Status](https://github.com/rubenv/mysqltest/workflows/Test/badge.svg)](https://github.com/rubenv/mysqltest/actions) [![GoDoc](https://godoc.org/github.com/rubenv/mysqltest?status.png)](https://godoc.org/github.com/rubenv/mysqltest)\n\nSpawns a MySQL / MariaDB server with a single database configured. Ideal for unit\ntests where you want a clean instance each time. Then clean up afterwards.\n\nFeatures:\n\n* Starts a clean isolated MySQL / MariaDB database\n* Tested on Fedora and Ubuntu\n\n## Usage\n\nIn your unit test:\n```go\nmysql, err := mysqltest.Start()\ndefer mysql.Stop()\n\n// Do something with mysql.DB (which is a *sql.DB)\n```\n\n## License\n\nThis library is distributed under the [MIT](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubenv%2Fmysqltest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubenv%2Fmysqltest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubenv%2Fmysqltest/lists"}