{"id":44083716,"url":"https://github.com/modfin/brrr","last_synced_at":"2026-02-08T09:38:45.329Z","repository":{"id":316378202,"uuid":"1062697537","full_name":"modfin/brrr","owner":"modfin","description":"Golang integration testing thingy for postgres","archived":false,"fork":false,"pushed_at":"2025-11-11T13:09:19.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-11T15:02:58.082Z","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/modfin.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T15:45:59.000Z","updated_at":"2025-11-11T13:03:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"9101c141-ade2-4e62-8507-2b99d82105d1","html_url":"https://github.com/modfin/brrr","commit_stats":null,"previous_names":["modfin/brrr"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/modfin/brrr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modfin%2Fbrrr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modfin%2Fbrrr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modfin%2Fbrrr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modfin%2Fbrrr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modfin","download_url":"https://codeload.github.com/modfin/brrr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modfin%2Fbrrr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29226663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T09:15:18.648Z","status":"ssl_error","status_checked_at":"2026-02-08T09:14:33.745Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-02-08T09:38:44.749Z","updated_at":"2026-02-08T09:38:45.324Z","avatar_url":"https://github.com/modfin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BRRR\nBrrr is an integration testing thingy for go applications using postgres.\n\n## What does it do and what does it try to solve\n1. Launches a single go test container for postgres.\n2. Optionally runs seeding migration scripts.\n3. Marks the database as a template database.\n4. For each test, creates a new database from the template so each test can have its own database in isolation.\n5. Runs isolated integration tests in parallel.\n\n## Why The name\nIt goes fast.\n\n## Example\n```\nvar c *brrr.Container\n\nfunc TestMain(m *testing.M) {\n\tcfg := brrr.Config {\n\t\tUser: \"postgres\",\n\t\tPassword: \"test\",\n\t\tDatabase: \"acme\",\n\t}\n\n\tvar err error\n\tc, err = brrr.NewContainer(cfg)\n\tif err != nil {\n\t\tlog.Fatalf(\"failed to create test container: %v\", err)\n\t}\n\tdefer c.Close()\n\n\texitCode := m.Run()\n\n\tos.Exit(exitCode)\n}\n\nfunc TestSomething(t *testing.T) {\n\tt.Parallel()\n\n\tdb, err := c.NewInstance(t.Context())\n\tif err != nil {\n\t\tt.Fatal(err)\n\t}\n\tdefer c.CloseInstance(t.Context(), db)\n\n\terr = db.Connection.Ping(t.Context())\n\tif err != nil {\n\t\tt.Fatalf(\"failed to ping database: %v\", err)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodfin%2Fbrrr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodfin%2Fbrrr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodfin%2Fbrrr/lists"}