helpermethod / bash-specs

A BDD testing framework for Bash inspired by Jasmine and roundup.
GNU General Public License v3.0
12 stars 4 forks source link

Add require function #32

Closed helpermethod closed 9 years ago

helpermethod commented 9 years ago
require '/relative/path/to/dependency'
helpermethod commented 9 years ago

There are problems with the specs in the /mocking directory.

helpermethod commented 9 years ago

There seems to be some sort of Bash bug when accessing a sourced associative array using the key 'f'.

Expose readonly variable current_dir which points to current directory of the sourced specification instead.