bats-core
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
What bats-core is
Bats (Bash Automated Testing System) is a TAP-compliant test framework that requires Bash 3.2 or later. It checks that UNIX programs behave as expected, with Bash software as the main target. A test file is a Bash script that defines test cases with an @test syntax. Each test case runs as a function with a description. Test cases contain standard shell commands. Bats runs them with Bash errexit enabled, so a test passes when every command exits with status 0. The bats-core repository is the community-maintained fork of the original Bats project, which is now archived.
Written from the project's README, read , and its documentation (see sources).
- Category
- Unit testing and test runners
- License
- MIT
- Language
- Shell
- Changelog
- Releases on GitHub
Repository metrics
Status
activeLast commit within 90 days of the fetch date.Computed from the last commit date and the archive flag on the fetch date. See the status rules.
Alternatives
Listed unit testing and test runners tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from bats-core's, with its source.
Jest: Languages for writing tests: JavaScript; TypeScript via Babel or ts-jest. source: README
GoogleTest: Languages for writing tests: C++ (the 1.18.x branch requires C++17). source: README
Testify: Languages for writing tests: Go. source: README
Mocha: Languages for writing tests: JavaScript; TypeScript through Node.js type stripping or a loader such as tsx. source: Docs: TypeScript
Catch2: Languages for writing tests: C++. source: README
AVA: Languages for writing tests: JavaScript on Node.js; TypeScript definitions included. source: README
PHPUnit: Languages for writing tests: PHP. source: README
Vitest: Languages for writing tests: JavaScript and TypeScript, with JSX. source: README
Questions
Is bats-core open source?
Yes. bats-core is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.
Is bats-core maintained?
On 2026-09-22, the last commit to the default branch was on 2026-09-21, so the listed status is active. Rule: Last commit within 90 days of the fetch date.
How many GitHub stars does bats-core have?
6,275 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.
What language is bats-core written in?
The repository's primary language, as reported by the GitHub API, is Shell.
Sources
- GitHub REST API: repository, read
- GitHub REST API: commits, read
- GitHub REST API: latest release, read
- GitHub REST API: contributors, read
- LICENSE file, read
- README, read