bats-core
« Back to VersTracker
Description:
Bash Automated Testing System
Type: Formula  |  Latest Version: 1.13.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: testing bash development testing-framework devops
Install: brew install bats-core
About:
Bats-core is a TAP-compliant testing framework for Bash scripts and Unix systems. It provides a simple syntax for writing tests and executes them in isolated environments. This tool helps developers ensure their shell scripts are reliable and maintainable.
Key Features:
  • Simple, declarative test syntax
  • Test execution isolation
  • TAP (Test Anything Protocol) output for integration
  • Extensible with custom libraries
Use Cases:
  • Unit testing Bash scripts and shell functions
  • Integration testing for DevOps and deployment scripts
  • Validating Docker container entrypoints and setup scripts
Alternatives:
  • shunit2 – shunit2 is another popular framework but uses a xUnit-style syntax, whereas Bats uses a more readable, test-block-based approach.
License: MIT
Bottles available for: all
Version History
Detected Version Rev Change Commit
Dec 16, 2025 3:04pm 0 VERSION_BUMP 0623aff7