Skip to content

Releases: clojure-expectations/clojure-test

2.2.214

14 Dec 05:25
a56c19c
Compare
Choose a tag to compare
  • Address #41 by deprecating the implicit expect form of defexpect and printing an obnoxious warning when it is used. This form of defexpect will be removed in a future release!
  • PR #40 @NoahTheDuke reduces the amount of code generated for ?= (and, in turn, for more-of), allowing for more complex tests.

2.1.208

21 Nov 23:10
cfe93bf
Compare
Choose a tag to compare
  • Address #39 by ignoring qualifier on Expectations' macros. This is potentially breaking but is often required during migration to another test framework, as you may have to use aliased names to avoid collisions (to LazyTest, for example).
  • Address #36 by expanding side-effects documentation, and mentioning with-redefs.
  • Expose run-test and run-test-var from clojure.test (Clojure 1.11).
  • Update dev/test dependencies.

2.1.201

07 May 18:09
d76fa82
Compare
Choose a tag to compare
  • Address #35 by treating any symbol starting with expect as an Expectations macro for the 2-argument form.
  • Address #33 by expanding the README introduction.
  • Address #31 by adding more examples to more-of.
  • Update dev/test dependencies.

2.1.188

23 Oct 07:11
Compare
Choose a tag to compare
  • Address #29 by providing a "hook" for more-of.
  • Update tools.build to 0.9.6 (and get rid of template/pom.xml in favor of new :pom-data option to b/write-pom).

2.1.182

30 Sep 05:25
Compare
Choose a tag to compare
  • Improved failure reporting: most failures now provide an additional message describing the failure as well as improving how the expected and actual values are displayed (primarily hiding =? and showing a more accurate/intuitive test form).
  • Update deps.edn to use :main-args (instead of :main-opts) for parameterized tasks in build.clj -- see Running Tasks based on Aliases
  • Drop support for Java 8 (it may continue to work but it is no longer tested).
  • Update dependencies to latest stable versions.

2.0.165

01 Feb 06:06
Compare
Choose a tag to compare
  • Fix #30 by removing build-clj and using raw tools.build.
  • Address #29 by providing a "hook" for more-> (but more work is needed).
  • Address #27 by changing refer'd note in stub macros' docstrings.

2.0.160

26 Mar 20:33
Compare
Choose a tag to compare
  • Fix #28 by recognizing qualified calls to expect (to suppress legacy behavior in more cases).
  • Update build-clj to v0.8.0.

2.0.157

26 Jan 03:14
Compare
Choose a tag to compare

Fix a regression in how class names were treated as predicates in expectations.

2.0.156

20 Jan 00:20
Compare
Choose a tag to compare
  • Address #26 by adding an example combining more-> and more-of around destructuring ex-info data.
  • Fix #24 by using a local (gensym) for the actual value in more and more-> so it is only evaluated once.
  • Update build-clj to v0.6.7 and automate snapshot/release builds.

2.0.143

01 Dec 22:50
Compare
Choose a tag to compare
  • Fix #23 by adding support for set-in-set expectations.
  • Documentation updates.
  • Build deps updates.