test.check

Add a prop/for-all alternative to c.t.c.clojure-test that uses clojure.test/is &c

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

This would be similar to https://github.com/gfredericks/test.chuck/blob/9f424c474b02f6e89b423049b5c5daebf71cec9c/src/com/gfredericks/test/chuck/clojure_test.cljc#L112.

Have to think carefully about when to print clojure.test's standard failure stuff with respect to shrinking.

Note that adding is support means that we would get thrown? and thrown-with-msg? support as well, which are use cases that are currently more awkward to hand-roll.

on the other hand

am I just wanting to do this because of the "test output is bad" problem? Is there a better solution that attacks that directly?

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: