clojure-spec

Franco Gasperino 2021-09-14T02:51:04.119200Z

ok thank you

Franco Gasperino 2021-09-14T02:52:51.120100Z

following up on that - do you organize a generative fdef in the same namespace as the function it's associated with, or with a peer testing namespace similar to a unit test?

johanatan 2021-09-21T20:05:30.133200Z

personally i write the fdef right beside the defn

johanatan 2021-09-21T20:05:37.133400Z

but that is probably a matter of personal opinion

johanatan 2021-09-21T20:06:02.133600Z

i do have a few "integration tests" that span multiple functions / namespaces defined in the test/ area itself

johanatan 2021-09-21T20:06:14.133800Z

e.g., "roundtrip" style tests