Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
npryce opened this issue Jul 22, 2013 · 0 comments

Comments

@npryce
Copy link

npryce commented Jul 22, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant