Mike Gerwitz
58a3f75d05
run-spec will now set wd to spec dir
...
This removes sourcing complications
2014-06-09 22:39:30 -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
dc5a5d8f0f
Corrected _proxy-to to accept variable shift length
2014-05-13 21:38:30 -04:00
Mike Gerwitz
76e90de26d
Expectation handler no longer receives extra newline
2014-05-13 01:25:24 -04:00
Mike Gerwitz
1dcc0cd8d0
Added `be' support as an expectation handler
...
E.g. "to be silent".
2014-05-13 01:25:19 -04:00
Mike Gerwitz
b3b3a9fcef
Added shift argument to expectation handlers
...
This allows the implementation to vary in the number of arguments provided
to the expectation handlers without breaking BC so long as the meanings of
the shifted arguments do not change.
2014-05-10 00:34:01 -04:00
Mike Gerwitz
d2e8d21ac5
Initial `and' declaration support
2014-05-09 21:48:09 -04:00
Mike Gerwitz
b4572d420b
Expectation premise output now piped to expectation handler
2014-05-09 01:59:21 -04:00
Mike Gerwitz
3d1f9d22a7
Initial concept and working tests for shspec
...
My original prototype was more feature-rich than this, but this formalizes
it and provides self-tests.
It is indeed odd seeing shell code that does not look like shell.
2014-05-09 00:58:06 -04:00