Fork me on GitHub

Fun, this library for testing docstrings with clojure.test now works with babashka: - thanks @liquidz.uo

babashka 12
bananadance 4

$ export BABASHKA_CLASSPATH=$(clojure -Sdeps '{:deps {testdoc {:mvn/version "1.2.0"}}}' -Spath)
$ bb '(ns foo (:use clojure.test testdoc.core))
(defn foo "
  => (foo)
  [] :foo)

(deftest footest
  (is (testdoc (var foo))))

(test-var (var footest))'

FAIL in (footest) (:1)
(= (foo) :foox)
expected: :foox
  actual: :foo

👌 8

I’m dropping a wild idea here, just in case someone is looking for ideas. Would be cool to have a browser extension that reacts to clojure: (js/alert “fooo”) (similar to how javascript works with javascript:alert("foo") . Based on [1] it might actually be an option to do this and be able to have Sci bookmarklets. [1]

parrot 8

Wrote a script to turn a directory of .mp3 files (think: a downloaded Clojure conference videos as .mp3 audio tracks) into a podcast.

🎶 4
wizard 8