testez
testez copied to clipboard
Mocks/Stubs/Shims
I want to write unit tests, not integration tests. If one part of my code breaks, I don't want everything else to break with it. Thus, I write a mock/stub/shim (I'm still trying to figure out the difference) for it that returns some fake data. Busted has support for this, but TestEZ doesn't seem to.