A collection of test helpers.
nedap.utils.test.api/meta= compares both objects and their metadata, recursively.
nedap.utils.test.api/macroexpansion= compares objects, deeming any gensyms as equal.
nedap.utils.test.api/run-tests macroexpands to its clojure.test/cljs.test counterpart. It only adds something for the cljs variant: it sets an adequate exit code to the Node process.
nedap.utils.test.api/expect allows you to assert side effects in code. look at examples in the tests.
nedap.kacoha.focus-file-plugin Kaocha plugin which adds --focus-file cli-option. Can be used to test a specific file rather than a specific file.
[com.nedap.staffing-solutions/utils.test "1.9.0"]
nedap.utils.test.apinedap.utils.test.matchers matcher-combinators matchersnedap.kaocha koacha pluginsPlease browse the public namespaces, which are documented, speced and tested.
The default namespace is dev. Under it, (refresh) is available, which should give you a basic "Reloaded workflow".
It is recommended that you use
(clojure.tools.namespace.repl/refresh :after 'formatting-stack.core/format!).
You can find examples in the api test.
Copyright © Nedap
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0.
Can you improve this documentation? These fine people already did:
Jeroen de Jong, vemv, Twan Coenraad & TwanEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |