This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-14
Channels
- # adventofcode (14)
- # announcements (3)
- # babashka (18)
- # beginners (32)
- # calva (1)
- # clj-kondo (65)
- # cljs-dev (5)
- # cljsrn (3)
- # clojure (22)
- # clojure-spec (13)
- # clojure-uk (53)
- # clojured (3)
- # clojuredesign-podcast (50)
- # clojurescript (8)
- # core-async (32)
- # cursive (15)
- # data-science (1)
- # datomic (17)
- # fulcro (48)
- # hyperfiddle (1)
- # off-topic (5)
- # shadow-cljs (2)
- # testing (2)
@plexus Well, you'd mostly only use deftest
, is
, and maybe use-fixtures
so it's not much of a burden to :refer
them explicitly. With Expectations, the entire referrable API is shown in the README now:
[expectations.clojure.test
:refer [defexpect expect expecting
approximately between between' functionally
side-effects]]))
but most folks would probably only use defexpect
and expect
in most tests (and maybe use-fixtures
from clojure.test
) so that's why I'd rather have explicit referrals. Interesting point about cljs @tanzoniteblack! Right now, Expectations** doesn't support cljs but I'd welcome help converting it to .cljc
files with whatever macro-dance is required... 🙂"classic" Expectations supports cljs but the new Expectations does not... yet...