Skip to content

v1.9.0

Latest

Choose a tag to compare

@NoahTheDuke NoahTheDuke released this 17 Sep 14:16
· 4 commits to main since this release
  • Support lazytest/describe=foo-bar in clojure markdown blocks for doctests. The string will be used as the defdescribe's var name instead of a gensym based on the current header.
  • Support doctests in babashka.
  • BREAKING: Internally change expect to throw a clojure.lang.ExceptionInfo with :type :lazytest/expectation-failed. lazytest.ExpectationFailed will be kept in the jar forever, but it won't work as a target for catch anymore if you're using it. This is to make it easier to use Lazytest in cljc files and to support porting lazytest to other dialects in the future.
    If you're currently using lazytest.ExpectationFailed, may I recommend using sinker or ex to ease catching such exceptions.
  • Make --watch work with doctests that set aliases (generally through (require foo :as bar)).
  • Bump clj-reload to 1.0.0 to support --watch in babashka.
  • Bump JVM target to 17, in anticipation of Clojure 1.13.