cdc428f859
Merge pull request #5 from potherca-contrib/feature/support-bpkg
...
Adds support for installing `stub.sh` using BPKG
2018-01-21 19:31:51 +00:00
Ben Peachey
30db3416ea
Adds mention of BPKG install to README file.
2018-01-21 16:59:08 +00:00
Ben Peachey
b75a952a20
Adds BPKG package file.
2018-01-21 16:55:11 +00:00
b6a1ae189c
Merge pull request #3 from ericfreese/master
...
Use single equal sign in single bracket tests for zsh compatibility.
2016-03-05 10:40:59 +00:00
Eric Freese
bd6f3c4666
Use single equal sign in single bracket tests for zsh compatibility.
2016-02-13 12:45:23 -07:00
89aed2999c
Update Travis-CI build status image in readme
2014-09-08 20:47:07 +01:00
de104f7cd5
Bump version to 1.0.2
v1.0.2
2014-09-08 20:43:24 +01:00
58e1b8dfa7
Remove useless empty line
2014-09-08 20:43:05 +01:00
e8388b911b
Update Makefile
2014-09-08 20:40:23 +01:00
d9e3e14c76
Merge pull request #2 from BrandonOCasey/master
...
Removed echo -e for portability issues
2014-09-08 17:05:06 +01:00
Brandon Casey
f46506d00e
changed printf to use %s and changed newlines in the command string to semi colons
2014-09-08 11:07:11 -04:00
Brandon Casey
59a69b883f
removing echo -e for portability issues
2014-09-04 11:49:24 -04:00
1f6dc46f3f
Tweak .travis.yml
2014-05-26 13:45:45 +01:00
332cfb8d28
Whitespace tweak
2014-05-26 13:45:21 +01:00
f3e0f666cb
Use test-runner.sh instead of homegrown test.sh
2014-05-26 13:45:21 +01:00
47ce28bba6
Fix travis build
2014-04-09 13:48:21 +01:00
6e8e9fcfcf
Merge pull request #1 from macie/patch-1
...
timing support
2014-04-09 13:42:45 +01:00
Maciej Żok
0ea845751e
timing support
2014-04-09 14:38:06 +02:00
3b02e60207
Fix typo in readme
2014-03-22 15:37:37 +00:00
78f31d9bc9
Bump version to 1.0.1
v1.0.1
2014-03-22 15:32:19 +00:00
e5382ea2dc
Update function reference to reflect changes in function comments
2014-03-22 15:31:21 +00:00
9a34d8fa90
Update/fix various function comments
2014-03-22 15:29:19 +00:00
8c18d4075c
Ensure readme formatting is consistent
2014-03-22 15:21:28 +00:00
407fefcb34
Fix incorrect description of stub function in readme
2014-03-22 15:20:28 +00:00
ef607e8eec
Fix stub_called_with example in readme
2014-03-22 15:05:20 +00:00
49ec034829
Add example to readme for validating X calls with Y arguments
2014-03-22 15:00:55 +00:00
5ac835a822
Fix outdated and incorrect example in readme
2014-03-22 15:00:09 +00:00
51f6c8776e
Fix typo in readme
2014-03-22 15:00:01 +00:00
7f77ef159e
Bump version to 1.0.0
v1.0.0
2014-03-22 14:26:00 +00:00
023e3090dd
Update formatting of License info
2014-03-22 14:25:37 +00:00
4b46a98fda
Update readme with stub_called_with information
2014-03-22 14:24:23 +00:00
807d1ba73d
Change behavior of stub_called_times
...
It now only ever returns the the number of times the stub has been
called. To assert if it has been called exactly X number of times, use
`stub_called_exact_times` instead.
2014-03-22 14:05:33 +00:00
a6741d903c
Add stub_called_with and related functions
2014-03-22 13:43:27 +00:00
2869bf2f93
Fix comments in test
2014-03-22 12:45:41 +00:00
3b68d7a3c7
Fix examples in readme
2014-03-20 09:23:01 +00:00
f077f46036
Fix typo in readme
2014-03-20 00:09:45 +00:00
d1f658f173
Bump version to 0.3.0
v0.3.0
2014-03-20 00:02:14 +00:00
007d6296d3
Update readme
2014-03-20 00:01:48 +00:00
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
ce67b6c3a5
Long lines are evil, make them short
2014-03-19 23:28:22 +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
d90fd505e9
Improve tracking of active stubs
2014-03-19 23:24:10 +00:00
844c41b4ae
Improve function comments by making them more tomdoc-like
2014-03-19 23:22:12 +00:00
d6cbe395ea
Don't time tests on Travis-CI
...
assert.sh relies on the bc command to calculate times, and Travis-CI
build environments don't seem to have bc.
2014-03-16 02:13:14 +00:00
156f1a3657
Use specific version of assert.sh rather than always latest
2014-03-16 02:03:39 +00:00
efb9140329
Bump version to 0.2.0
v0.2.0
2014-03-16 02:00:26 +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