Fork me on GitHub

Is there a convenient way to separate specs definitions and their generators? I want to define my specs with my main code, but only use generators in test code. I include test.check in my classpath only with the test alias. I know spec loads generators lazily for this purpose, but not sure how to use s/with-gen when the generator argument uses stuff depending on test.check


Okay, I think I got it. I was calling gen/fmap when my namespace of custom generators was loaded.