{"id":15329412,"url":"https://github.com/tisonkun/assert","last_synced_at":"2025-08-09T00:07:41.084Z","repository":{"id":41165290,"uuid":"471374440","full_name":"tisonkun/assert","owner":"tisonkun","description":"A toolkit with common assertions that plays nicely with the standard library.","archived":false,"fork":false,"pushed_at":"2022-12-21T04:47:48.000Z","size":284,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T18:40:35.519Z","etag":null,"topics":["assertions","go","golang","testing","testkit"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tisonkun.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}},"created_at":"2022-03-18T13:15:34.000Z","updated_at":"2022-06-21T06:31:15.000Z","dependencies_parsed_at":"2023-01-30T02:45:43.245Z","dependency_job_id":null,"html_url":"https://github.com/tisonkun/assert","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tisonkun%2Fassert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tisonkun%2Fassert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tisonkun%2Fassert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tisonkun%2Fassert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tisonkun","download_url":"https://codeload.github.com/tisonkun/assert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245864463,"owners_count":20685042,"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":["assertions","go","golang","testing","testkit"],"created_at":"2024-10-01T09:47:43.318Z","updated_at":"2025-03-27T14:44:47.833Z","avatar_url":"https://github.com/tisonkun.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assert\n\n## Description\n\nThis package is heavily inspired from [stretchr/testify](https://github.com/stretchr/testify), and you can regard it as a fork of the upstream repository.\n\nThis package extracts all assertions and republish them with new ones including:\n\n* `(*Assertion).ErrorRegexp`\n\nThe `Assert` package servers as a supplement of Golang's `testing` for convenient assertions. And thus I don't want to implement anything like `suite` or `mock`.\n\n* `suite` can be simply implemented leveraging [Golang's Subtests](https://go.dev/blog/subtests).\n* `mock` is not a good practice as it's hard to sync logics between the mock and the real object.\n\n## Usage\n\n```shell\ngo get github.com/tisonkun/assert\n```\n\n## Copyright \u0026 License\n\nThe bundle itself is licensed under the [Apache License](LICENSE).\n\nCopyright 2022 tison wander4096@gmail.com.\n\nYou can see all transitive licenses and notices under the [LICENSES](LICENSES) folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftisonkun%2Fassert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftisonkun%2Fassert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftisonkun%2Fassert/lists"}