protorepl 2018-01-16

@ben.mumford620 has joined the channel

hi all, is it possible to run the tests in the proto-repl without adding the proto-repl to my repo's project.clj file?

@ben.mumford620 yes, you have two options: * disable the settings: “Refresh Before Running [Single Test/Test File]” * add [org.clojure/tools.namespace "0.2.11"] as a dev dependency

tools.namespace is used to refresh the namespaces. if you want that feature, you’ll need the dependency, either directly, or via the proto-repl dependency

although i do see some errors in the webkit console when trying to run single tests…

proto-repl namespaces not found

another option is to put it in your user profile: ~/.lein/profiles.clj

which is probably the best option, so that you aren’t dictating to the rest of the team that they have to include that dependency