|
|
|
|
|
by anko
3945 days ago
|
|
One of my pet peeves about shell scripts (speaking as a former UNIX admin) is the lack of static typing or test frameworks. So not only is the language less elegant than modern programming languages, but it's harder to test for bugs and you don't even get type safety. |
|
- a DSL for describing specifications
- the ability to mock functions and commands
- detailed, human-readable output
You can find some sample-tests in the spec/ folder (bash-specs eats its own dog food by testing itself ;)).
Dokumentation is lacking and the mocking is currently broken but both will be fixed within the next days.
https://github.com/helpermethod/bash-specs/