bats-core Test Environment

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

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 https://github.com/bats-core/bats-core.

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.

Limitations

  • debugging bats-core tests isn’t possible yet

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

© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal