Liking cljdoc? Tell your friends :D

Configuration: Warnings

Kaocha will warn about common mistakes.

No config

  • Given a file named "test/my/foo_test.clj" with:
(ns my.foo-test
  (:require [clojure.test :refer :all]))

(deftest var-test
  (is (= 456 456)))
  • When I run bin/kaocha -c alt-tests.edn

  • Then stderr should contain:

Did not load a configuration file and using the defaults.

Warn about bad configuration

  • Given a file named "tests.edn" with:
#kaocha/v1
{:plugins notifier}
  • And a file named "test/my/foo_test.clj" with:
(ns my.foo-test
  (:require [clojure.test :refer :all]))

(deftest var-test
  (is (= 456 456)))
  • When I run bin/kaocha

  • Then stderr should contain:

Invalid configuration file:

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close