v1.4.0
Added
- Can now pass in paths as cli arguments, not just through repeated
--dir
flags:clojure -M:dev:test test/unit test/integration
will look for tests in bothtest/unit
andtest/integration
. - Documentation in
docs/core.md
and in thelazytest.core
docstring. - Exclude
lazytest.core/defdescribe
from:clojure-lsp/unused-public-var
linter.
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
:test
metadata to:lazytest/test
metadata. It's longer, but it no longer clashes withclojure.test
's internals so you can run lazytest overclojure.test
tests without them being marked as passing tests. (See #4.) - Clarify
:output
and:reporter
::output
is from the CLI or from a caller of thelazytest.repl
functions, and:reporter
is the function created/referenced from:output
. - Move namespace filtering to
lazytest.filter/filter-tree
and out oflazytest.main
.
Fixed
- cljdoc links in README.md. (See #1.)