{"id":16110835,"url":"https://github.com/roma-glushko/testcrd","last_synced_at":"2026-04-18T14:04:14.906Z","repository":{"id":205520086,"uuid":"714401150","full_name":"roma-glushko/testcrd","owner":"roma-glushko","description":"Unit test your Kubernetes Custom Resource Definitions (CRDs) 🛠️","archived":false,"fork":false,"pushed_at":"2023-11-14T21:42:50.000Z","size":30,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-05T16:47:00.625Z","etag":null,"topics":["crd","kubernetes","kubernetes-manifests","kubernetes-operator"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/roma-glushko/testcrd","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/roma-glushko.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":"2023-11-04T19:48:17.000Z","updated_at":"2024-01-16T10:09:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f412622-1a65-4908-93ca-c1a6f936c76c","html_url":"https://github.com/roma-glushko/testcrd","commit_stats":null,"previous_names":["roma-glushko/testcrd"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/roma-glushko/testcrd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roma-glushko%2Ftestcrd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roma-glushko%2Ftestcrd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roma-glushko%2Ftestcrd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roma-glushko%2Ftestcrd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roma-glushko","download_url":"https://codeload.github.com/roma-glushko/testcrd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roma-glushko%2Ftestcrd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31971494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["crd","kubernetes","kubernetes-manifests","kubernetes-operator"],"created_at":"2024-10-09T19:39:35.600Z","updated_at":"2026-04-18T14:04:12.101Z","avatar_url":"https://github.com/roma-glushko.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# testcrd\n\nUnit test your Kubernetes Custom Resource Definitions (CRDs) against concreate resource samples\nwithout a need for a running Kubernetes cluster.\n\nThe primary use case would be to ensure backward-compatibility of CRD changes.\n\n## Installation\n\n```bash\ngo get github.com/roma-glushko/testcrd\n```\n\n## Usage\n\n```go\nimport (\n\t\"github.com/roma-glushko/testcrd\"\n\t\"testing\"\n)\n\nfunc TestCRD_AssertDefinitionBackwardCompatible(t *testing.T) {\n\tasserter := testcrd.NewResourceAsserter()\n\n\t_ = asserter.LoadFromFiles([]string{\n\t\t\"crd/my_crd.yaml\",\n\t})\n\n\t_ = asserter.AssertFiles(t, []string{\n\t\t\"fixtures/my_crd/resource.sample.yaml\",\n\t})\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froma-glushko%2Ftestcrd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froma-glushko%2Ftestcrd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froma-glushko%2Ftestcrd/lists"}