sstephenson/bats — pull request #32 by themattrix (2013-11-09 20:45:59+00:00)
Title: Added the ability to test the values of global variables which were set in a "run"

I've often found it useful to test the value of global variables after a "run" command. However, the unit under test is run inside a subshell, making the values disappear before they can be tested.

This change introduces the "set_run_vars" command which will grab and set the values of any specified global variables from the run.