This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-02
Channels
- # arachne (1)
- # bangalore-clj (3)
- # beginners (4)
- # boot (6)
- # cider (3)
- # cljs-dev (14)
- # cljsrn (2)
- # clojure (309)
- # clojure-ireland (1)
- # clojure-russia (7)
- # clojure-spec (10)
- # clojure-uk (5)
- # clojureremote (2)
- # clojurescript (68)
- # cursive (7)
- # emacs (7)
- # luminus (3)
- # lumo (21)
- # off-topic (14)
- # om (1)
- # onyx (53)
- # perun (3)
- # re-frame (4)
- # slack-help (14)
- # unrepl (56)
- # untangled (3)
Hi. if i have code (gen/sample (s/gen ::basic/string) 1000))), how i can reproduce the data generation? Where to put seed value?
@mike1452 what are you using this for?
@gfredericks well, i want to have unit tests for my functions. I have bunch of specs for data, and i have specs for my fn's. I want to pass spec'ed data to spec'ed fns to write unit tests.
i found some solution
for spec'ed data i can
i know that (s/valid) here is unnecessary
and for spec'ed fn example.core/average i can
i wanted to have reproducible results in unit tests