Clarify some information about IDEs (particularly cider)

This commit is contained in:
Paul Stadig 2016-04-06 12:38:53 -04:00
parent 077020ab13
commit ef8a7aa824

View file

@ -5,6 +5,13 @@
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. Version 0.8.0 and later of humane-test-output requires Clojure 1.8.0 or later.
** IDEs
This test output formatting works great with Emacs and cider 0.10 or lower,
and when running Leiningen in a console. However, some IDEs are also bashing
in their own versions of test formatting.
I do not recommend using this with cider 0.11.0 or greater or with Cursive,
or LightTable, or any other IDE.
** Clojure ** 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
@ -16,11 +23,9 @@
(pjstadig.humane-test-output/activate!)]}} (pjstadig.humane-test-output/activate!)]}}
#+END_EXAMPLE #+END_EXAMPLE
This test output formatting works great with Emacs and when running Leiningen If you are on a mixed team and some members need to disable humane test
in a console. However, some IDEs are also bashing in their own versions of output, they can define the ~INHUMANE_TEST_OUTPUT~ environment variable,
test formatting. If you are on a mixed team and some members need to disable though again it's better for each user to enable it in their own
humane test output, they can define the ~INHUMANE_TEST_OUTPUT~ environment
variable, though again it's better for each user to enable it in their own
~/.lein/profiles.clj. ~/.lein/profiles.clj.
Once humane-test-output is activated, instead of this: Once humane-test-output is activated, instead of this: