Fork me on GitHub
#testing
<
2019-12-14
>
seancorfield00:12:37

@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... 🙂

seancorfield00:12:00

"classic" Expectations supports cljs but the new Expectations does not... yet...