Skip to content

v1.2.0

Compare
Choose a tag to compare
@NoahTheDuke NoahTheDuke released this 16 Oct 14:01
· 48 commits to main since this release

Wrote better documentation for lazytest.core, highlighting the primary vars and their use cases.

Added generic support for skipping test cases or suites with :skip metadata.

(describe "many cases"
  (it "will be skipped"
    {:skip true}
    (expect (= 1 2)))
  (it "will be ran"
    (expect (= 1 1))))

Added

  • lazytest.runner/run-test-suite: For running a suite value instead of running a namespace or a var.
  • lazytest.core/update-children: An intended-for-internal-use function useful in defining suites and test-cases.
  • Support :skip metadata on suites and test-cases.

Changed

  • lazytest.core/it and lazytest.core/expect-it return nil if within *context*.
  • lazytest.experimental.interfaces.midje/fact no longer wraps it in a describe.
  • lazytest.core/defdescribe ignores *context*, allowing it to be nested.