Commit Graph

10 Commits (302977eb74bc820c37e5487ebcb3011bb165b4f2)

Author SHA1 Message Date
Mike Gerwitz 7597677086 Added env var value expectation 2014-06-13 21:29:34 -04:00
Mike Gerwitz 683c4cc691 Added `not' expectation
Simply negates the result of whatever expectation it is given
2014-05-15 00:45:49 -04:00
Mike Gerwitz 914dafc62a `match' handler now defined in terms of output abstraction
Consequently, now supports `on' clause.
2014-05-13 23:25:27 -04:00
Mike Gerwitz e4abafa8b4
Converted `be' tests into direct expectation handler test
The original implementation was not an expectation handler (for some
reason), so this was an artifact of that approach.
2014-05-13 21:46:00 -04:00
Mike Gerwitz a59a09007b
Added `silent' expectation handler 2014-05-13 01:25:22 -04:00
Mike Gerwitz c899f9c170
`output' expectation handler now supports stdout
This requires a little bit of file descriptor wizardry, but works; I will
need to abstract it for other handlers that will need to do the same thing.
2014-05-13 01:25:12 -04:00
Mike Gerwitz 89a38a5dc2
Adjusted existing handlers and tests to honor shift argument
This will also ensure that the test cases do not break when new arguments
are added, since the existing conventions will remain unchanged.
2014-05-10 00:42:58 -04:00
Mike Gerwitz c1d1b66fa9
Added `match' expectation 2014-05-09 23:31:47 -04:00
Mike Gerwitz 61ecb6ad82
Added output expectation handler 2014-05-09 02:04:09 -04:00
Mike Gerwitz 6dbf996f3b
Exit code now passed to expectation handlers 2014-05-09 01:13:26 -04:00