This project adheres to Semantic Versioning. See here for the change log format.
every-checker
to clj-kondo
configprovided
to disallow mocking clojure.core/str
since it causes issues with the Midje internals. Addresses #481clj-kondo
configAllow setting midje config via java system properties (#483)
For example: (System/setProperty "midje.check-after-creation" "false")
can now be done instead of (change-defaults :check-after-creation false)
in the .midje.clj
config file
bump libraries
clj-kondo
configclj-kondo
configclj-kondo
support for checkersclj-kondo
support of tabular
tabular
macro and exclude arrows from clj-kondo
linter(autotest)
is called twiceMIDJE_COLORIZE
environment variable when configuring colorization settingsmidje.experimental/gen-let
macro for combining generative matchersrrb-vector
tabular
can't distinguish between table header and bodyfor-all
fact setupSee details in alpha releases of 1.9.2
.
provided
in presence of laziness#user.YourRecord {:arg-one 100}
, instead of {:arg-one 100}::YourRecord
suchwow
clojure-commons
and swiss-arrows
dependencies=contains=>
targets a non-map value, such as a vector, which has unclear semantics. A fact that looks like(unfinished gen-list)
(fact
(first (gen-list)) => 'list
(provided
(gen-list) => ..some-list..
..some-list.. =contains=> ['list 'contains 'not-suppored]`))
can be updated to
(let [some-list ['list 'contains 'not-suppored]
(fact
(first (gen-list)) => 'list
(provided
(gen-list) => some-list)))
Note that clojure doesn't allow var names that begin with .
(like ..some-metaconstant..
) in let
-forms
for-all
construct for quick-check style testing, powered by clojure.test.check
. Currently in the midje.experimental
namespace.:pretty-print
configuration to false
.=contains=>
(#159)1.5
and 1.6
See fixes noted in versions since 1.8.3
for-all
to appear inside of fact
formsfor-all
construct for quick-check style testing, powered by clojure.test.check
1.9.0-alpha10
:pretty-print
config to allow for disabling the exception and datastructure pretty-printing. :pretty-print
is enabled by default.load-string
null
line-number in failures occurring in against-background
=contains=>
targets a non-map value, which has unclear semanticsFixed issues:
provided
clausejust
checker is accepting incorrect mapsprint
in prerequisites, which causes an infinite
loop if Midje needs to print any errors. (#347)clojure.core/any?
. Thanks, Børge Svingen(change-defaults :run-clojure-test false)
prevents clojure.test tests from being run.(Some other non-feature, cleanup changes were lost.)
Older changes were in HISTORY.md, and they're not worth preserving.
Can you improve this documentation? These fine people already did:
Phillip Mates, Brian Marick & Rafael de F. FerreiraEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close