File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+
3+ bin/lein kaocha " $@ "
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+
3+ bin/lein kaocha --focus " $@ "
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ services:
1717 - " ./package.json:/usr/src/app/package.json"
1818 - " ./src:/usr/src/app/src"
1919 - " ./test:/usr/src/app/test"
20+ - " ./tests.edn:/usr/src/app/tests.edn"
2021 - " ./docker/docker-prod.edn:/usr/src/app/resources/prod.edn" # Override server configs
2122 depends_on :
2223 - database
Original file line number Diff line number Diff line change 2121 (let [cmd-source (with-out-str (repl/source game.core.commands/parse-command))
2222 implemented-cmds (map str (re-seq #"(?<=\" )\/ [^ \" ]*(?=\" )" cmd-source))
2323 documented-cmds (map :name command-info)]
24+ (is true ) ; ; so kaocha doesn't fail this test with no assertions
2425 (doseq [cmd implemented-cmds]
2526 (when-not (some #(= % cmd) documented-cmds)
2627 (is false (str " command '" cmd " ' is undocumented" ))))
You can’t perform that action at this time.
0 commit comments