Writing your tests in EDN files
https://biffweb.com/p/edn-tests/
I’ve previously written about my latest approach to unit tests: [Y]ou define only the input data for your function, and then the expected return value is generated by calling your function. The expected value is saved to an EDN file and checked…


@planet @clojure strictly, these are characterisation tests rather than unit tests. Characterisation tests are tests to check that the behaviour of a program doesn’t change; unit tests should be tests that the program is working as specified.