Report the failing is assertions in test.chuck.clojure-test/for-all#47
Report the failing is assertions in test.chuck.clojure-test/for-all#47lbradstreet wants to merge 2 commits intogfredericks:masterfrom
Conversation
test.chuck.clojure-test/for-all discards the reports and returns and overall report which is missing the assertion information that failed. for-all now calls report on each report so that the assertion failures are reported back to the user
|
Looks like a test is broken (intentionally), but I haven't figured out to reverse it so it's a success yet. |
|
I've hacked around the issue by resetting the report and ensuring the original report failed (since this is the intended result). Unfortunately I haven't figured out how to get rid of the following output (which is expected). Let me know if these changes aren't sufficient. |
0b9bc94 to
7cc7c03
Compare
|
Does this repeatedly print failures while shrinking? Was that the intention? |
|
Hmm, yes, it does report them while shrinking. Looks like they needs to be be fixed.
|
I have had trouble with for-all for a while now, because it doesn't report back the failing assertions:
The point of this PR is to report back which assertions fail. Please let me know if you disagree with implementation and I'll fix it.
Previous behaviour:
New behaviour: