This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-16
Channels
- # announcements (1)
- # architecture (319)
- # babashka (27)
- # beginners (101)
- # biff (1)
- # calva (30)
- # cider (6)
- # clj-kondo (38)
- # clojure (41)
- # clojure-boston (1)
- # clojure-europe (80)
- # clojure-nl (1)
- # clojure-norway (21)
- # clojure-uk (4)
- # community-development (7)
- # conjure (1)
- # data-science (18)
- # datalevin (6)
- # datascript (30)
- # datomic (2)
- # events (2)
- # fulcro (1)
- # graalvm (3)
- # holy-lambda (2)
- # hyperfiddle (10)
- # jobs (3)
- # lsp (2)
- # malli (9)
- # matcher-combinators (3)
- # missionary (72)
- # nbb (40)
- # off-topic (1)
- # other-languages (14)
- # planck (5)
- # re-frame (2)
- # releases (4)
- # rewrite-clj (22)
- # shadow-cljs (3)
- # sql (2)
- # squint (17)
- # yamlscript (1)
Does anyone know if there's an easy way to make the cider test report buffer on emacs show values in a non-raw form? E.g. strings would not show up with quotes surrounding them. Could help copy stuff from the output to analyze it more easily if it's parsable by Clojure
Woops sorry CIDER is doing everything correctly, it looks like it's only for match?
from https://github.com/nubank/matcher-combinators
(deftest foo
(is (match? "abc" "def")))
Then , t t
on it:
Test Summary
api.api-test 1 ms
foo 1 ms
Tested 1 namespaces in 1 ms
Ran 1 assertions, in 1 test functions
1 failures
cider-test-fail-fast: t
Results
api.api-test
1 non-passing tests:
Fail in foo
expected: (match? "abc" "def")
actual: (mismatch (expected abc) (actual def)) ;; <--- missing string quotes