Bats
Jump to navigation
Jump to search
External
Internal
Overview
Shell scripts can be tested easier if the functionality is broken into many small, reusable and independently testable functions.
A library of such function can be tested by sourcing the library into the BATS test and run the functions as their usual calling layer would invoke them.
Subjects
TODO
- How to troubleshoot tests - how do I get access to intermediate stderr and stdout?