Testing in clojure

Feb. 9, 2018, 9:18 p.m.
  1. Unit-test pure functions only
  2. When dealing with impure functions - extract to pure ones as much as possible. Use dependency injection - this will allow you to use different back-ends later.
  3. Use external integration-testing (Robot, Cucumber, scripts, etc) for testing impure functions in your application