Archives June 9, 2010
Stub/Mock-a-Process Module
Written by
on
in
Snaking.
Say you want to have a test suite that tests logic which runs command-line processes that should *not* be run on the test machine (e.g. they would cause the test machine's configuration to be totally messed up). You want to test right down to the point where the call is made (i.e. you don't way ...