v1.4.0
Added
- Can now pass in paths as cli arguments, not just through repeated
--dirflags:clojure -M:dev:test test/unit test/integrationwill look for tests in bothtest/unitandtest/integration. - Documentation in
docs/core.mdand in thelazytest.coredocstring. - Exclude
lazytest.core/defdescribefrom:clojure-lsp/unused-public-varlinter.
Changed
- Removed Malli dependency as it's no longer used.
- Support doc tests where the expected value is a function:
(+ 1 1)
=> int?is rewritten as (expect (int? (+ 1 1))).
- Give
lazytest.core/throws-with-msg?andlazytest.core/causes-with-msg?better errors when the class matches but the regex doesn't. - Switch from
:testmetadata to:lazytest/testmetadata. It's longer, but it no longer clashes withclojure.test's internals so you can run lazytest overclojure.testtests without them being marked as passing tests. (See #4.) - Clarify
:outputand:reporter::outputis from the CLI or from a caller of thelazytest.replfunctions, and:reporteris the function created/referenced from:output. - Move namespace filtering to
lazytest.filter/filter-treeand out oflazytest.main.
Fixed
- cljdoc links in README.md. (See #1.)