rcf icon indicating copy to clipboard operation
rcf copied to clipboard

RCF – a REPL-first, async test macro for Clojure/Script

Results 38 rcf issues
Sort by recently updated
recently updated
newest added

Hi, Your project looks nice and while I do have some inheritted resistance to putting tests in the same file as code I also see the benefits. I am writing...

enhancement
good first issue
bb

These fancy UTF-8 characters can be missing on some devices.

Question is: "Basically just be able to use RCF with lein. It would be great if i can 'lein test' and it works."

Cljs macroexpansion needs to sequence test steps using a continuation passing style (we cannot block on a js runtime) Current rewriting does not sequence steps correctly, the problem is exhibited...

May be related to https://github.com/hyperfiddle/rcf/issues/27. ```clojure (s/def ::my-spec (s/conformer (fn [_] ::s/invalid) (fn [_]))) (tests "test my spec" (s/conform ::my-spec "") := ::s/invalid) ``` ``` test my spec in (s/conform...

bug

Hiya I found when testing out Missionary that ordering appears to matter when evaluating tasks: ```clojure (def task (m/sp 1 2 3)) (tests (m/? task) := 3 nil := (m/?...

bug

```clojure (tests :foo *1 := :foo) ; pass (tests :foo := :foo *1 := :foo) ; fail, imo should pass (tests (inc 1) := 2 (dec *1) ; example usage...

bug

```clojure (ns foo (:require [hyperfiddle.rcf :refer [tests]])) (tests (inc nil) thrown? NullPointerException) ``` Compiler warning: ``` Use of undeclared Var foo/thrown? ``` `thrown?` is defined by `t/assert-expr`, it should not...

bug

```clojure (tests (PlaidClient (-> (env!) (select-keys [:plaid/client-id :plaid/secret]))) := ?plaid) (tests ((create-sandbox-token ?plaid "ins_129571") ! !) % := {:public_token ?token :request_id _} (println ?plaid ?token)) ```

It would be great if RCF could use any comment block as test, without having to add special syntax or a dependency for a library. ``` clojure (ns my-lib) (defn...