{"id":13413894,"url":"https://github.com/ysmood/got","last_synced_at":"2025-12-15T19:59:27.057Z","repository":{"id":37317889,"uuid":"299552129","full_name":"ysmood/got","owner":"ysmood","description":"An enjoyable golang test framework.","archived":false,"fork":false,"pushed_at":"2024-06-13T08:40:30.000Z","size":342,"stargazers_count":264,"open_issues_count":2,"forks_count":18,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-07-31T20:52:57.948Z","etag":null,"topics":["assert","dependency-free","diff","golang","lightweight","log","snapshot-testing","test","testing","unit-testing"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/ysmood/got","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/ysmood.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["ysmood"]}},"created_at":"2020-09-29T08:24:35.000Z","updated_at":"2024-06-13T08:37:51.000Z","dependencies_parsed_at":"2024-04-18T06:29:57.577Z","dependency_job_id":"d4503c26-9e14-4a80-b592-16f6c0c78900","html_url":"https://github.com/ysmood/got","commit_stats":{"total_commits":235,"total_committers":5,"mean_commits":47.0,"dds":"0.27234042553191484","last_synced_commit":"4562fdfc4cbca0126bffbc4b2de02c06e8792886"},"previous_names":[],"tags_count":141,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysmood%2Fgot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysmood%2Fgot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysmood%2Fgot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysmood%2Fgot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysmood","download_url":"https://codeload.github.com/ysmood/got/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253752879,"owners_count":21958800,"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":["assert","dependency-free","diff","golang","lightweight","log","snapshot-testing","test","testing","unit-testing"],"created_at":"2024-07-30T20:01:52.176Z","updated_at":"2025-12-15T19:59:21.988Z","avatar_url":"https://github.com/ysmood.png","language":"Go","readme":"# Overview\n\nAn enjoyable golang test framework.\n\n## Features\n\n- Pretty output using [gop](https://github.com/ysmood/gop) and [diff](lib/diff)\n- Fluent API design that takes the full advantage of IDE\n- Handy assertion helpers\n- Handy utils for testing\n- Value snapshot assertion\n- Customizable assertion error output\n\n## Guides\n\nRead the [example project](lib/example) to get started.\n\nGot uses itself as the test framework, so the source code itself is the best doc.\n\nInstall the [vscode extension](https://marketplace.visualstudio.com/items?itemName=ysmood.got-vscode-extension) for snippets like: `gp`, `gt`, and `gsetup`.\n\nTo ensure test coverage of your project, you can run the command below:\n\n```shell\ngo test -race -coverprofile=coverage.out ./...\ngo run github.com/ysmood/got/cmd/check-cov@latest\n```\n\nBy default the [check-cov](cmd/check-cov) requires 100% coverage, run it with the `-h` flag to see the help doc.\n\n## API reference\n\n[Link](https://pkg.go.dev/github.com/ysmood/got)\n","funding_links":["https://github.com/sponsors/ysmood"],"categories":["Testing","测试","Template Engines"],"sub_categories":["HTTP Clients","Testing Frameworks","HTTP客户端"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysmood%2Fgot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysmood%2Fgot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysmood%2Fgot/lists"}