clojure-spec

Joerg Schmuecker 2023-07-04T01:46:26.176299Z

Is it possible that spec and test.check do have some incompatibilities? I am getting cannot cast Generator to fn exceptions when using specs in the tests.

2023-07-04T01:54:17.666849Z

Spec generators are test.check generators wrapped in a 0 art function

2023-07-04T01:54:19.958129Z

Arg

Joerg Schmuecker 2023-07-04T08:12:22.173269Z

So how do I use a spec generator in test.check? Unwrap them or use the “surface” provided by “spec.alpha”.

Joerg Schmuecker 2023-07-04T08:13:08.663439Z

More importantly, how would i find out about htat? Without having to bother a human.