Yes. Short answer: Make a model of the input space. Coming in a future screencast. :-)
Stu On Wed, Jul 27, 2016 at 2:13 PM, Beau Fabry <imf...@gmail.com> wrote: > With the passing test of `my-index-of`, is there any way to be confident > that test.check generated inputs that checked the branch of the :fn spec > where a return other than nil happened? All of the invocations of > `exercise-fn` in the screencast only managed to get nil as a result. > > > On Wednesday, July 27, 2016 at 9:22:27 AM UTC-7, Alex Miller wrote: >> >> Check out the 2nd screencast about spec, this time on testing with check >> and instrument: >> >> http://blog.cognitect.com/blog/2016/7/26/clojure-spec-screencast-testing >> > -- > 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.