RCF turns your Rich Comment Forms into tests. No watchers, no beeping, no 
lagging, no boilerplate. One key-chord to run tests (send form or file to 
repl). Try it, it's good! https://github.com/hyperfiddle/rcf/

Changes: Async support for RCF test blocks is now available! Now develop 
async expressions at your REPL, with the full Clojure interactive 
experience.

(ns example
  (:require [hyperfiddle.rcf :as rcf :refer [tests ! %]]
            [clojure.core.async :refer [chan >! go go-loop <! timeout 
close!]]))

(tests
  "core.async"
  (def c (chan))
  (go-loop [x (<! c)]
           (when x
             (<! (timeout 10))
             (rcf/! x)              ; tap to queue
             (recur (<! c))))
  (go (>! c :hello) (>! c :world))
  % := :hello                       ; pop queue
  % := :world
  (close! c))


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/208b1725-9ffe-4b03-9192-1204a68f5e25n%40googlegroups.com.

Reply via email to