testing

Testing tools, testing philosophy & methodology...
seancorfield 2019-12-14T00:50:37.004100Z

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

seancorfield 2019-12-14T00:51:00.004700Z

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