You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
cdevinesr
added a commit
to cdevinesr/bats-core
that referenced
this issue
Jul 3, 2018
Addresses sstephenson/bats#255
This feature takes the same type of arguments 'load' would. It
can be used at the command line with --global-helper=helper_script,
or via environment variable by exporting BATS_GLOBAL_HELPER_SCRIPT.
cdevinesr
added a commit
to cdevinesr/bats-core
that referenced
this issue
Jul 3, 2018
Addresses sstephenson/bats#255
This feature takes the same type of arguments 'load' would. It
can be used at the command line with --global-helper=helper_script,
or via environment variable by exporting BATS_GLOBAL_HELPER_SCRIPT.
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.The text was updated successfully, but these errors were encountered: