What I'm doing:
If I define a test like:
(ert-deftest tmp-test () "failing test" :expected-result :failed (should (eql (+ 1 0) 2)))
and then I run
M-x ert-run-tests-automatically ;; with selector t
My cursor jumps to the
*ert* test buffer and I can view the failing test
f tmp-test failing test (ert-test-failed ((should (eql (+ 1 0) 2)) :form (eql 1 2) :value nil))
However when I move my cursor over the "tmp-test" link and press enter instead of switching windows/buffers and jumping the cursor to the test definition like I assume should happen I see the message
"Don't know where 'tmp-test' is defined" printed in the minibuffer.
How do I tell ert where to find my test definitions?