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

Possible false positives with heterogeneous test cases #20

Open
ashfurrow opened this issue Aug 11, 2014 · 0 comments
Open

Possible false positives with heterogeneous test cases #20

ashfurrow opened this issue Aug 11, 2014 · 0 comments
Labels

Comments

@ashfurrow
Copy link
Owner

Say you have a test case that tests a view with snapshots and then does some other test.

expect(view).will.haveValidSnapshot(); // pass, but does emit a "ksdiff" line
expect(1).to.equal(2); //fails, but the kaleidoscope command from the previous line is recorded as a failure in second curtain

If the first expectation emits a "ksdiff" line to the log, as is common will will blocks, then the second, failing expectation will mark the first one, which passed, as a failure to be uploaded.

/cc @orta

@ashfurrow ashfurrow added the bug label Aug 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant