- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -

Bats

From HLRS Platforms
Revision as of 16:19, 17 February 2025 by Hpcchris (talk | contribs) (Initial page for the Bash Automated Testing System (bats) installation at HLRS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Bats (Bash Automated Testing System) is a TAP-compliant testing framework for Bash 3.2 or above. It provides a simple way to verify that the UNIX programs you write behave as expected.
Developer:
Platforms:
Category: Testing
License: MIT
Website: bats homepage


Usage

Note: The bats installation at HLRS is not part of the official HLRS software stack.


The bats installation at HLRS is available as general software on all platforms via the following commands:

modulel use /sw/general/x86_64/development/bats/modulefiles
module load bats

bats --version


For information on how to write and run tests using bats please consult the bats documentation