Fork me on GitHub
#clojure-spec
<
2021-09-14
>
Franco Gasperino02:09:51

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?

johanatan20:09:30

personally i write the fdef right beside the defn

johanatan20:09:37

but that is probably a matter of personal opinion

johanatan20:09:02

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

johanatan20:09:14

e.g., "roundtrip" style tests