Releases: clojure-expectations/clojure-test
Releases · clojure-expectations/clojure-test
2.0.137 (2.0.x "Gold" Release)
The following changes have been made since Alpha 2, back in June:
- Address #22 by adding
clj-kondo.exports(this is just a first pass; the:lint-asmappings will probably be replaced by hooks in the future). - Fix #19 by supporting regex/patterns dynamically inside
=?(as well as the compile-time support already inexpect). - Update
build-cljto v0.5.0. - Switch to
build.clj/tools.buildfor CI/deploy.
2.0.0 Alpha 2
Mostly a documentation refresh compared to Alpha 1.
2.0.0 Alpha 1
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.testas well. - Implement
cljs.test's version ofuse-fixtures: accepts functions or hash maps (containing:beforeand/or:afterkeys with 0-arity functions). - Add various macro-like constructs back into the documentation to improve the documentation (
in,from-each,more-of,more->,moreare really only syntactic constructs insideexpect). - Support ClojureScript via
planck-- see #16 for details (@kkinear).
Release 1.2.1
Identical to release 1.2.0 but with a fix for the generated documentation index on cljdoc.org.
Release 1.2.0
Release 1.1.2
Bug Fix:
- Fix
inwith a hash map to correctly detect failing cases.
Enhancements:
- Adds
betweenandbetween'for inclusive and exclusive range checking.
Documentation:
- Clean up
:require..:referin README to list all public symbols. #4 - Fixes links in README. PR #3 (@marekjeszka)
- Add/improve docstrings. Add
^:no-docmetadata for when cljdoc.org supports it.
Maintenance:
- Add a first round of tests (finally!). Verified support for Clojure 1.8 (without Spec expectations). Verified full support for Clojure 1.9 and 1.10.1.
Release 1.1.1
- Adds spec expectation support (coming in Expectations 2.1.11).
- Adds compatibility with Paul Stadig's Humane Test Output.
Release 1.1.0 (broken)
(broken implementation of spec expectations)
1.0.1
Initial release spun off from main Expectations library!