Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running in Cursive REPL #80

Closed
klauswuestefeld opened this issue Mar 5, 2019 · 4 comments
Closed

Running in Cursive REPL #80

klauswuestefeld opened this issue Mar 5, 2019 · 4 comments

Comments

@klauswuestefeld
Copy link

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 :)

@jakemcc
Copy link
Owner

jakemcc commented Mar 12, 2019 via email

@klauswuestefeld
Copy link
Author

klauswuestefeld commented Mar 12, 2019 via email

@jakemcc
Copy link
Owner

jakemcc commented Mar 21, 2019

Released it. Readme.md has details.

@jakemcc jakemcc closed this as completed Mar 21, 2019
@klauswuestefeld
Copy link
Author

Using it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants