bats icon indicating copy to clipboard operation
bats copied to clipboard

automatically sourcing setup/teardown scripts?

Open bje- opened this issue 7 years ago • 1 comments

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.

bje- avatar Jun 19 '18 22:06 bje-

@bje- This project is no longer being actively maintained by its original autoher (see #236).

You might want to migrate to the community maintained fork bats-core and report your issue there.

AssafKatz3 avatar Aug 16 '18 12:08 AssafKatz3