mbland / go-script-bash

Framework for writing modular, discoverable, testable Bash scripts
ISC License
96 stars 16 forks source link

bats/helpers: Improve clarity, robustness, speed #193

Closed mbland closed 7 years ago

mbland commented 7 years ago

create_bats_test_script makes it a little clearer that the first argument is a script name or path.

restore_program_in_path guards against empty program names and disables Bats shell options to improve speed.

This is in preparation for upcoming updates and additions to bats-helpers prior to following through on #181.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.01%) to 94.617% when pulling 0c561cd3cec46c491c1ab9e10913323d1bb963f1 on bats-helpers into 6b9da3b4aae43194504f242247903c414b163a54 on master.