From 42db155b8621801b8ac2edbced5ea2c3f605e152 Mon Sep 17 00:00:00 2001 From: Laurence Chen Date: Fri, 17 Mar 2023 17:35:45 +0800 Subject: [PATCH] add document for the configuration option --- doc/clojure_test/assertions.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/clojure_test/assertions.md b/doc/clojure_test/assertions.md index 4d9e90d7..40dddcb5 100644 --- a/doc/clojure_test/assertions.md +++ b/doc/clojure_test/assertions.md @@ -32,6 +32,12 @@ FAIL in sample-test/my-test (sample_test.clj:4) Test ran without assertions. Did you forget an (is ...)? ``` +### Missing assertions are configurable + +There are two ways to disable this detection: + +* Enable `:mute-zero-assertion?` at `tests.edn`. +* Use `--mute-zero-assertion` in command line argument. ## Detecting single argument `=`