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 is a website building & hosting documentation for Clojure/Script libraries

× close