721226618c
Change when called state is reset
...
This allows checking if a stub was called even after it's been restored
to it's original. Called state is only reset when a new stub is created
for the same command.
2014-03-19 23:55:39 +00:00
13a571b9a3
Add stub_called_at_most_times function
2014-03-19 23:28:07 +00:00
32af661b2f
Add stub_called_at_least_times function
2014-03-19 23:27:31 +00:00
5af71ab2fd
Add stub_called_times function
2014-03-19 23:27:03 +00:00
cd5eeda4c9
Add stub_called function
2014-03-19 23:26:39 +00:00
0c4a5d11ee
Ensure stub can be used multiple times on the same command
...
Ensures that the original bash function is preserved even if it is
stubbed multiple times before a restore.
2014-03-16 01:57:58 +00:00
ef231e420a
Default stub to not echoing anything unless specified
2014-03-16 01:57:34 +00:00
911b34cf69
Don't include assert.sh in the git repo itself
...
Instead, assert.sh is now downloaded if needed when you run make test.
2014-03-16 00:42:03 +00:00
4cf9f6e944
Ensure test cases clean up after themselves
2014-03-16 00:10:58 +00:00
d1f0b85a2c
Initial commit
2014-03-15 23:45:58 +00:00