Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (20 loc) · 783 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 783 Bytes

MOVED!!

This repository has moved: https://codeberg.org/selfawaresoup/schalentier

Schalentier

A testing framwork (almost) nobody asked for.

Schalentier, german

[ˈʃaːləntiːɐ̯]

: shellfish

Schalentier enables shell scripts to be unit tested with convenient features like setup and teardown functions.

It also runs every test suite in a separete child process that can't read from or write to the user's environment variables and doesn't leave any function definitions or variables behind in the shell from which it was launched.

Usage

Example passing tests that leave nothing behind in the user's shell:

./schalentier examples/good_tests.sh

A test that fails due to test isolation:

./schalentier examples/bad_tests.sh