bats-core/bats-core
Bash Automated Testing System observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 94
- Release rhythm 70
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 172
- age_days: 3270
- days_rel: 43
- days_push: 38
- n_releases_24m: 4
Adoption not part of the score
6233 stars · 490 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Bats-core is a TAP-compliant testing framework for Bash scripts, where each test case is a Bash function using shell commands as assertions. It can test Bash scripts as well as any UNIX program, and outputs TAP, JUnit, or xUnit-compatible results.
Use cases
- test bash scripts
- write unit tests for shell scripts
- run automated tests in CI for CLI tools
- verify unix programs behave as expected
- generate TAP or JUnit test reports from shell tests
When to choose
- you need to test Bash scripts or shell utilities
- you want TAP-compatible output for CI integration
- you prefer tests written as plain shell commands
When to avoid
- you need a testing framework for a non-shell language
- you require rich assertion libraries or mocking beyond shell capabilities
Facets
framework · maturity active
testing cli testing developer-tools cli cross-platform bash shell-scripting tap junit xunit unit-testing command-line linux macos
1 source
- readme: https://github.com/bats-core/bats-core · fetched 2026-08-28 · 5a648aeda06c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bats-core/bats-core | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="bats-core/bats-core")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem