{"id":17151009,"url":"https://github.com/simonrichardson/shrink","last_synced_at":"2025-03-24T12:22:37.113Z","repository":{"id":66364354,"uuid":"115947510","full_name":"SimonRichardson/shrink","owner":"SimonRichardson","description":"Shrink test cases using go stdlib quick.Check","archived":false,"fork":false,"pushed_at":"2018-01-02T17:38:06.000Z","size":23,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T17:30:40.922Z","etag":null,"topics":["fuzzing","quickcheck","shrink","testing"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimonRichardson.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":"2018-01-01T20:59:24.000Z","updated_at":"2018-01-02T12:04:50.000Z","dependencies_parsed_at":"2023-02-20T16:01:10.850Z","dependency_job_id":null,"html_url":"https://github.com/SimonRichardson/shrink","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/SimonRichardson%2Fshrink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonRichardson%2Fshrink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonRichardson%2Fshrink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonRichardson%2Fshrink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonRichardson","download_url":"https://codeload.github.com/SimonRichardson/shrink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245267675,"owners_count":20587481,"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":["fuzzing","quickcheck","shrink","testing"],"created_at":"2024-10-14T21:37:03.147Z","updated_at":"2025-03-24T12:22:37.108Z","avatar_url":"https://github.com/SimonRichardson.png","language":"Go","readme":"# shrink\n\nShrink is a drop in replacement for the stdlib `quick.Check`, but with the\nadditional benefits of shrinking the input arguments on failure.\n\n## Example\n\n```go\nfunc TestDivide(t *testing.T) {\n  fn := func(x int) bool {\n    return (x % 1000) \u003c 10\n  }\n  if err := shrink.Check(fn, nil); err != nil {\n    t.Error(err)\n  }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonrichardson%2Fshrink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonrichardson%2Fshrink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonrichardson%2Fshrink/lists"}