{"id":15874651,"url":"https://github.com/rudifa/go-testscripts-compare","last_synced_at":"2026-07-22T20:31:11.045Z","repository":{"id":219683773,"uuid":"681106245","full_name":"rudifa/go-testscripts-compare","owner":"rudifa","description":"Compare go test methods on a sample case","archived":false,"fork":false,"pushed_at":"2023-08-21T09:24:01.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T20:25:13.141Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rudifa.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":"2023-08-21T09:23:52.000Z","updated_at":"2024-01-19T10:27:34.000Z","dependencies_parsed_at":"2024-01-29T06:13:08.412Z","dependency_job_id":"67774deb-054a-4ff9-874b-e9bbc98a4e04","html_url":"https://github.com/rudifa/go-testscripts-compare","commit_stats":null,"previous_names":["rudifa/testscripts-compare"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rudifa/go-testscripts-compare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudifa%2Fgo-testscripts-compare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudifa%2Fgo-testscripts-compare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudifa%2Fgo-testscripts-compare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudifa%2Fgo-testscripts-compare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudifa","download_url":"https://codeload.github.com/rudifa/go-testscripts-compare/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudifa%2Fgo-testscripts-compare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35777193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-22T02:00:06.236Z","response_time":124,"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":[],"created_at":"2024-10-06T01:40:57.903Z","updated_at":"2026-07-22T20:31:11.024Z","avatar_url":"https://github.com/rudifa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compare different test methods\n\n## 1 Normal go test\n\n```\n.\n├── pkg\n│   └── goeval\n│       ├── testdata\n│       │   ├── combo.cue\n│       │   ├── raw.json\n│       │   └── stdout.json\n│       ├── goeval.go\n│       └── goeval_test.go\n```\n\n```\ntestscripts-compare % go test $1 ./...\n?       github.com/rudifa/testscripts-compare   [no test files]\nok      github.com/rudifa/testscripts-compare/pkg/goeval        (cached)\n```\n\nAdavantages:\n\n- a well known test method\n- close to the code under test\n- assisted by the vscode go extension (run test, debug test, ...)\n\n## 2 `testscript` with a standalone txtar script\n\n```\n.\n├── pkg\n│   └── goeval\n│       └── testdata\n│           └── standalone.txtar\n```\n\n```\ntestscripts-compare % testscript pkg/goeval/testdata/standalone.txtar\nPASS\n```\n\nAdvangates:\n\n- all-in-one script, suitable for presenting test cases in discussons and reports\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudifa%2Fgo-testscripts-compare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudifa%2Fgo-testscripts-compare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudifa%2Fgo-testscripts-compare/lists"}