okey-doke icon indicating copy to clipboard operation
okey-doke copied to clipboard

Approver should not report a passing test if it generated the .approved file

Open npryce opened this issue 12 years ago • 0 comments

If working incrementally, I'll start with an almost empty implementation. E.g. it'll return an empty string or somesuch. I'll run the test to see a failure.

The Approver generates an empty approved file if one doesn't exist. It then compares this to the output from the code. They are the same because I've only just started writing the code. And so the Approver reports a test pass.

It should report a test failure, since I've not actually approved any output yet.

npryce avatar Jul 22 '13 14:07 npryce