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

selfawaresoup/schalentier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A unit testing framework for Bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages