- 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: Difference between revisions

From HLRS Platforms
Jump to navigationJump to search
(Initial page for the Bash Automated Testing System (bats) installation at HLRS)
 
m (Fixed typo in module command)
 
Line 14: Line 14:
The bats installation at HLRS is available as general software on all platforms via the following commands:  
The bats installation at HLRS is available as general software on all platforms via the following commands:  
{{Command|command=
{{Command|command=
modulel use /sw/general/x86_64/development/bats/modulefiles
module use /sw/general/x86_64/development/bats/modulefiles
module load bats
module load bats



Latest revision as of 16:33, 17 February 2025

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:

module 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