Skip to content

Running in Cursive REPL #80

Description

@klauswuestefeld

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions