test-check 2017-09-13

hey, is there something generated by clojure.test.check.generators/any that can break the output of the test runner?

FAIL in (??round-trip) (:)
expected: (= e (parse (string d)))
  actual: (not (= [["_Iq1WSpRhKoq+0M?1?!CV-I+GD-ul?s**R?!*!6arO*hmmz!" "6KnðåómÔ(OD{hl$g\tÉ\"²Å¹Þˆß’" "6

it's like the string somehow didn't finish or something

the string not finishing smells more like your output was truncated somehow

the worst thing about gen/any that could cause problems is that it can generate NaNs deep in the nested structure

which causes the whole thing to not equal itself, but maybe only under certain conditions

FAIL in (??round-trip) (:)expected: (= e (parse (string d))) actual: (not (= [["_Iq1WSpRhKoq+0M?1?!CV-I+GD-ul?s**R?!*!6arO*hmmz!" "6KnðåómÔ(OD{hl$g\tÉ\"²Å¹Þˆß’" "6Testing wheel.stylesheet.hoplon

and goes straight into the next test

you could bypass the test runner & printing by calling clojure.test.check/quick-check directly with your property and inspecting the return value

yeah, also i think what you said about NaN is going to derail me anyway

i might need a different approach