{"id":36770490,"url":"https://github.com/farcloser/tigron","last_synced_at":"2026-01-12T13:04:19.977Z","repository":{"id":275249285,"uuid":"925541522","full_name":"farcloser/tigron","owner":"farcloser","description":"FORK - use github.com/containerd/nerdctl/mod/tigron for now - Modern testing framework for command-line applications","archived":false,"fork":false,"pushed_at":"2025-03-26T22:01:13.000Z","size":82,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-26T23:19:43.523Z","etag":null,"topics":["golang","integration-testing","testing"],"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/farcloser.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},"funding":{"github":"apostasie"}},"created_at":"2025-02-01T05:28:27.000Z","updated_at":"2025-03-26T22:01:52.000Z","dependencies_parsed_at":"2025-03-10T04:25:14.340Z","dependency_job_id":"a7f1d911-460d-4f11-85c5-9b5d68544295","html_url":"https://github.com/farcloser/tigron","commit_stats":null,"previous_names":["farcloser/tigron"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/farcloser/tigron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farcloser%2Ftigron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farcloser%2Ftigron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farcloser%2Ftigron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farcloser%2Ftigron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farcloser","download_url":"https://codeload.github.com/farcloser/tigron/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farcloser%2Ftigron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["golang","integration-testing","testing"],"created_at":"2026-01-12T13:04:19.074Z","updated_at":"2026-01-12T13:04:19.973Z","avatar_url":"https://github.com/farcloser.png","language":"Go","readme":"Use https://github.com/containerd/nerdctl/tree/main/mod/tigron for now.\n\n\u003c!--\n# Tigron\n\n\u003e  no-one likes you, `if [ $? -eq 0 ]`\n\nA modern testing framework for command-line applications.\n\n## TL;DR\n\nTBD\n\n## Documentation\n\nTBD\n\n## Motivation and goals\n\nTesting (go) binaries is a journey fraught with many pitfalls.\n\nWhile some tooling exist (the venerable [bats](https://github.com/bats-core/bats-core), or the solid work going\non at [gotestyourself](https://github.com/gotestyourself)), they either focus on relatively low-level testing\nprimitives (`assert`, `exec`), or do not integrate well into the natural go environment\n(`bats` requires you to write shell scripts), and routinely require additional third-party tools for advanced scenarios\n(hello `unbuffer`), and for the developer to write a large set of \"helpers\".\n\nProjects and companies thus routinely end-up growing in-house tooling, that generally suffer from a number of\nrampant issues: lack of structure and expressiveness, helpers spaghetti, unclear test lifecycle (specifically\ncleanup), resource leakage and cross test interaction, ultimately encouraging bad test design leading to degraded\nand un-scalable situations (flakyness being of course the number 1 scourge).\n\nTigron was developed specifically to address these issues, based on the experience testing nerdctl, a large cli\nwith a lot of integration tests.\n\nTigron does not replace `gotest.tools`, nor `gotestsum`. In fact, it leverages and encourages use of these where\nappropriate.\n\nTigron ambition is to provide a ready-to-use, clean, simple, go-native framework meant specifically to\nwrite tests for cli binaries, encouraging good test design and a stronger basis to build tests suite.\nIt also comes with a set of helpers to accomodate most advanced scenarios (command backgrounding, stdin manipulation,\nsupport for pseudo ttys, environment filtering, etc.)\n\n## History\n\nTigron was originally developed and [merged inside nerdctl in 2024](https://github.com/containerd/nerdctl/pull/3418),\nas part of the effort to enhance nerdctl testing situation.\n\nAs it proved useful for other projects, it was taken out of nerdctl and rebooted as a standalone project in 2025.\n\n## Future\n\nTBD\n\n- replay debugging\n- analytics\n\n## Badges\n\n[![Go Report Card](https://goreportcard.com/badge/go.farcloser.world/tigron)](https://goreportcard.com/report/go.farcloser.world/tigron)\n![lint](https://github.com/farcloser/tigron/actions/workflows/lint.yml/badge.svg)\n![test](https://github.com/farcloser/tigron/actions/workflows/test.yml/badge.svg)\n\n--\u003e","funding_links":["https://github.com/sponsors/apostasie"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarcloser%2Ftigron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarcloser%2Ftigron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarcloser%2Ftigron/lists"}