Bats

From NovaOrdis Knowledge Base
Revision as of 16:23, 3 October 2019 by Ovidiu (talk | contribs) (→‎Internal)
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?