> It might be worth including a discussion about when to use this library, and perhaps indicating that using it might not be a best-practice.
I'm using it to instrument a running development system as I'm working with it, via an API, REPL, and tests. I've found it handy in all three places for my :ret specs to be checked when the function runs, and quickly detecting problems in my spec or function. I can see how :ret and :fn are invaluable for generative tests, but in my experience it is also very useful to check them in other places. As far as I can tell, the only downside to checking :fn and :ret specs while in development is that it takes marginally more CPU to check them. Maybe I'm missing something though? On Tue, Jul 11, 2017 at 7:40 AM Didier <didi...@gmail.com> wrote: > I find it funny that Clojure strongly believes that static types aren't > worth the effort in most cases, but somehow the effort of adding generative > testing is. > > I think it's great to encourage people to use generative testing, but I'd > rather it be à la carte, like most other things in Clojure. Orchestra > allows that. If you want your :fn and :ret spec validated only on your > manual tests, or on your regression tests, it lets you do that. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.