{"id":43344721,"url":"https://github.com/allentv/go-testhelpers","last_synced_at":"2026-02-02T01:34:00.946Z","repository":{"id":78596647,"uuid":"262409104","full_name":"allentv/go-testhelpers","owner":"allentv","description":"Helper functions for writing unit tests in Golang","archived":false,"fork":false,"pushed_at":"2020-05-09T20:39:30.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-22T13:04:50.046Z","etag":null,"topics":["testhelpers","testing","unittest"],"latest_commit_sha":null,"homepage":"","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/allentv.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}},"created_at":"2020-05-08T19:17:32.000Z","updated_at":"2021-06-28T03:01:52.000Z","dependencies_parsed_at":"2023-12-16T00:14:09.702Z","dependency_job_id":null,"html_url":"https://github.com/allentv/go-testhelpers","commit_stats":null,"previous_names":["allentv/gotesthelpers"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/allentv/go-testhelpers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allentv%2Fgo-testhelpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allentv%2Fgo-testhelpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allentv%2Fgo-testhelpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allentv%2Fgo-testhelpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allentv","download_url":"https://codeload.github.com/allentv/go-testhelpers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allentv%2Fgo-testhelpers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28999863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T01:32:03.847Z","status":"ssl_error","status_checked_at":"2026-02-02T01:32:03.458Z","response_time":56,"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":["testhelpers","testing","unittest"],"created_at":"2026-02-02T01:34:00.254Z","updated_at":"2026-02-02T01:34:00.938Z","avatar_url":"https://github.com/allentv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Test Helpers\n\nHelper functions for writing unit tests in Golang.\n\nThe functions are divided into different sections based on their nature or corresponding package in Go.\n\nI have tried to follow best practices of testing wherever possible inspired by [Mitchell Hashimoto](https://speakerdeck.com/mitchellh/advanced-testing-with-go)\n\nAny place where closing a stream/object is deferred, the defer operation is returned as a `closer` function that can be triggered in the test when invoking the function thereby cleaning up correctly after the test is completed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallentv%2Fgo-testhelpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallentv%2Fgo-testhelpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallentv%2Fgo-testhelpers/lists"}