Liking cljdoc? Tell your friends :D

utils.test CircleCI

A collection of test helpers.

Synopsis

  • 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.

Installation

[com.nedap.staffing-solutions/utils.test "1.6.3"]

ns organisation

There is exactly 1 namespace meant for public consumption:

  • nedap.utils.test.api

Documentation

Please browse the public namespaces, which are documented, speced and tested.

Development

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.

License

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
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close