Bats allows for setup and teardown functions inside individual test cases. Is there a way to have a setup script sourced at the start of the test run to establish convenience functions and the like? It's a pain to have to remember to load such a script at the top of every test script. Thanks.
Bats allows for setup and teardown functions inside individual test cases. Is there a way to have a setup script sourced at the start of the test run to establish convenience functions and the like? It's a pain to have to remember to
load
such a script at the top of every test script. Thanks.