I would like to refresh tests in a Cursive REPL so that I can navigate from stacktrace lines to source code. When I run lein test-refresh in a separate process there is no navigation.
After a couple of hours hacking I managed this:
(require 'com.jakemccrary.test-refresh)
(com.jakemccrary.test-refresh/monitor-project
[(-> "test" java.io.File. .getCanonicalPath)]
{:nses-and-selectors '[(my-test) [[(constantly true) ()]]]})
Could you provide an easier way?
The solution described here is good: #38 (comment) I don't care that the REPL never returns.
I'm using lein-test-refresh version 0.23.0
Congrats on the project!
Thanks :)
I would like to refresh tests in a Cursive REPL so that I can navigate from stacktrace lines to source code. When I run lein test-refresh in a separate process there is no navigation.
After a couple of hours hacking I managed this:
Could you provide an easier way?
The solution described here is good: #38 (comment) I don't care that the REPL never returns.
I'm using lein-test-refresh version 0.23.0
Congrats on the project!
Thanks :)