bats-core Test Environment

BashSupport Pro supports and bundles the bats-core test framework, version 1.11.0.

bats-core is a well–known and widely used software to define and run automated tests for shell and Bash scripts. You can learn more about it at

bats-core files have the file extension .bats. They are highlighted like .bash files.

Supported Configurations

All versions of GNU Bash, version 3 and later, are supported.

macOS, Linux, and Windows are supported. On Windows bats-core tests can be run with Bash installed WSL, Git Bash, or Cygwin.


  • debugging bats-core tests isn’t possible yet

Here are some extensions you could use in your bats-core tests:

© 2020–2024 Joachim Ansorg
Privacy Policy