Update README for ClojureScript.
This commit is contained in:
parent
76608ef516
commit
c083ca3ced
1 changed files with 79 additions and 72 deletions
|
@ -4,6 +4,8 @@
|
||||||
1. Test output is pretty printed.
|
1. Test output is pretty printed.
|
||||||
2. Equality assertions are also diffed.
|
2. Equality assertions are also diffed.
|
||||||
|
|
||||||
|
Version 0.8.0 and later of humane-test-output requires Clojure 1.8.0 or later.
|
||||||
|
** Clojure
|
||||||
To activate it you will need to call ~pjstadig.humane-test-output/activate!~.
|
To activate it you will need to call ~pjstadig.humane-test-output/activate!~.
|
||||||
The preferred way to do this with Leiningen is to use an injection in
|
The preferred way to do this with Leiningen is to use an injection in
|
||||||
the :user profile in your ~/.lein/profiles.clj:
|
the :user profile in your ~/.lein/profiles.clj:
|
||||||
|
@ -76,6 +78,9 @@
|
||||||
|
|
||||||
A test containing ~(is (= oops-i-only-gave-one-argument))~ will throw an
|
A test containing ~(is (= oops-i-only-gave-one-argument))~ will throw an
|
||||||
exception.
|
exception.
|
||||||
|
** ClojureScript
|
||||||
|
It is not necessary to activate humane-test-output with ClojureScript, but
|
||||||
|
the behavior should be much the same as with Clojure.
|
||||||
** License
|
** License
|
||||||
#+BEGIN_EXAMPLE
|
#+BEGIN_EXAMPLE
|
||||||
Copyright © Paul Stadig and Outpace Systems, Inc. All rights reserved.
|
Copyright © Paul Stadig and Outpace Systems, Inc. All rights reserved.
|
||||||
|
@ -87,3 +92,5 @@
|
||||||
#+END_EXAMPLE
|
#+END_EXAMPLE
|
||||||
** Acknowledgements
|
** Acknowledgements
|
||||||
I am grateful for design and implementation assistance from Bryce Covert.
|
I am grateful for design and implementation assistance from Bryce Covert.
|
||||||
|
|
||||||
|
Thanks to Miloslav Nenadál for the ClojureScript implementation.
|
||||||
|
|
Loading…
Reference in a new issue