Hello Nick,
Thank you for the warm and detailed feedback!
About 1.
and 2.
tests
expands to nil by default. You certainly don’t want them to run when your REPL boots. In dev-entrypoint
line 6 you can see how we enable it.
How we intend users to run tests:
- start your repl
- require rcf
- enable it
- eval
tests
forms at the REPL
The dev-entrypoint
file isn’t mandatory or special, it’s just an example of how you might want to enable RCF in your existing app entrypoint. You don’t have to include it in your config, just copy what you might need from it.
About 3.
You are right this error report is not helping at all. It’s already fixed but not merged on master yet. I’ll see if I can cherry-pick it.
Here is what the latest looks like:
(tests
(str "hello") := (str "hi"))
;; =>
❌ example:33
in (str "hello")
"hello"
:≠
(str "hi")
Also, RCF reporters are classic clojure.test
reporters. You can customize/redefine them however you like. See reporters.clj.