summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@tradeo.com>2014-11-15 16:57:32 +0200
committerBozhidar Batsov <bozhidar@tradeo.com>2014-11-15 16:57:32 +0200
commitf1d75e47fadd5700a828048b448529adddf1829f (patch)
treece491a057215db6e384aa67dc4089c63f8edcc2b /README.md
parent524dea5587e5abe92fb7c0e34a63e3fc1160fae0 (diff)
Mention cider-test-show-report-on-success in the README
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 14 insertions, 5 deletions
diff --git a/README.md b/README.md
index f4fba2b9..5e5cd910 100644
--- a/README.md
+++ b/README.md
@@ -333,6 +333,20 @@ helpful for identifying each host.
(setq cider-known-endpoints '(("host-a" "10.10.10.1" "7888") ("host-b" "7888")))
```
+### Running tests
+
+* If your tests are not following the `some.ns-test` naming convention you can
+customize the variable `cider-test-infer-test-ns`. It should be bound to a
+function that takes the current ns and returns the matching test ns (which may
+be the same as the current ns).
+
+* If you want to view the test report regardless of whether the tests have
+passed or failed:
+
+```el
+(setq cider-test-show-report-on-success t)
+```
+
### REPL History
* To make the REPL history wrap around when its end is reached:
@@ -356,11 +370,6 @@ helpful for identifying each host.
Note that the history is written to the file when you kill the REPL
buffer (which includes invoking `cider-quit`) or you quit Emacs.
-* If your tests are not following the `some.ns-test` naming convention you can
-customize the variable `cider-test-infer-test-ns`. It should be bound to a
-function that takes the current ns and returns the matching test ns (which may
-be the same as the current ns).
-
### Minibuffer completion
Out-of-the box `CIDER` uses the standard `completing-read` Emacs mechanism. While it's not