Skip to content

Instantly share code, notes, and snippets.

@sduckett
Last active October 14, 2015 16:27
Show Gist options
  • Save sduckett/bf3b08d0b7c48941fc97 to your computer and use it in GitHub Desktop.
Save sduckett/bf3b08d0b7c48941fc97 to your computer and use it in GitHub Desktop.
Clojure REPL-Workflow Notes

REPL Workflow notes

Pimp My REPL

Ian Truslove told me about a blog post, Pimp My REPL, and it offers a good starting point. Since it’s a little over a year old, we should check and see if the advice is still accurate, or if some of the tools have changed.

@sduckett
Copy link
Author

Misc Experiences

I thought pjstadig/humane-test-output would be a nice thing (and it is) but when I have it enabled, my the nREPL server that Cider has running dies with a complaint about a Double.

How I Start

First cider-jack-in. Whatever namespace I'm working on will be loaded in the REPL [HOWTO] and I'll run the tests for the namespace. Failing tests? OK, M-n to jump to the next failure, and then t to jump to the source of the failing spec, fix it, and run the tests again. (For some reason, if your tests pass, the failure buffer is kept around. I don't really like this, but it isn't annoying enough for me to properly fix it.)

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