Browse Source

Clarify some information about IDEs (particularly cider)

master
Paul Stadig 6 years ago
parent
commit
ef8a7aa824
  1. 15
      README.org

15
README.org

@ -5,6 +5,13 @@
2. Equality assertions are also diffed.
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
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
@ -16,11 +23,9 @@
(pjstadig.humane-test-output/activate!)]}}
#+END_EXAMPLE
This test output formatting works great with Emacs and when running Leiningen
in a console. However, some IDEs are also bashing in their own versions of
test formatting. If you are on a mixed team and some members need to disable
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
If you are on a mixed team and some members need to disable 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.
Once humane-test-output is activated, instead of this:

Loading…
Cancel
Save