2.0.0 Alpha 1
Pre-release
Pre-release
·
112 commits
to develop
since this release
The 2.x stream now lives under com.github.seancorfield/expectations
.
These are the important changes from the 1.2.1 version:
- Make
(defexpect foo)
and(defexpect foo (bar))
match the behavior ofdeftest
, without wrapping the body in(expect ,,,)
. This is potentially breaking insofar as(defexpect foo (produces-falsey))
would have been a failing test in 1.x but now silently just runs(produces-falsey)
in the same way that(deftest foo (produces-falsey))
does. - Bring in several test-running functions from
clojure.test
, for convenience in dev/test so users don't need to requireclojure.test
as well. - Implement
cljs.test
's version ofuse-fixtures
: accepts functions or hash maps (containing:before
and/or:after
keys with 0-arity functions). - Add various macro-like constructs back into the documentation to improve the documentation (
in
,from-each
,more-of
,more->
,more
are really only syntactic constructs insideexpect
). - Support ClojureScript via
planck
-- see #16 for details (@kkinear).