Clojure Testing with clojure.test — deftest, is, testing, from REPL to CI | Episode 22
0views
C
CelesteAI
Description
Tests you can run in seconds are tests you'll actually run. In this episode we pin down the `app.util` namespace from Episode 20 — `shout`, `slugify`, `wrap` — with real `clojure.test` assertions. Three `deftest` blocks, seven `is` assertions, and both ways to run them: from the REPL with `run-tests`, and from the command line with `clj -M:test`.