Functionality for jumping between tests and implementation is obsolete as per #196.
cider-interaction now provides a cider-connected-p that provides an error handling enabled connection check.
The `nrepl-current-connection-buffer` in current CIDER now throws an error when there is no connection, so this breaks initialization of `clojure-test-mode`, especially during startup. This small change fixes this problem
Removes unused, optional callback from clojure-test-clear that is not used at point of call or inside of clojure-test-clear. Please revert if needed for some other reason.
It will only enable clojure-test-mode if it finds clojure.test somewhere in the file. This will prevent clojure-test-mode getting enabled for namespaces with 'test.' in their name that are for other testing frameworks. It will also allow clojure-test-mode to co-exist with emacs modes for those other frameworks. (I thinking specifically of conjecture-mode.)
This is achieved by making the functions clojure-test-for and clojure-test-implementation-for return the full path of the test or src file. Next clojure-jump-to-test and clojure-test-jump-to-implementation simply calls these functions through a defvar to get the path. That var can be changed by users who want a different implementation. The existing behavior of where test files are create was left unchanged.