Re: Clojure spec screencast: Testing

2016-07-27 Thread Beau Fabry
Sweet. Looking forward to it. Enjoying the casts so far very quick ramp up. Nice work On Wednesday, July 27, 2016 at 11:52:36 AM UTC-7, stuart@gmail.com wrote: > > Yes. Short answer: Make a model of the input space. Coming in a future > screencast. :-) > > Stu > > On Wed, Jul 27, 2016 at 2

Re: Clojure spec screencast: Testing

2016-07-27 Thread Rick Moynihan
These screencasts are great, Thanks for making them; and of course working on clojure & clojure.spec! :-) R. On 27 July 2016 at 19:52, Stuart Halloway wrote: > 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,

Re: Clojure spec screencast: Testing

2016-07-27 Thread Stuart Halloway
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 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 >

Re: Clojure spec screencast: Testing

2016-07-27 Thread Beau Fabry
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,