protorepl

ben.mumford 2018-01-16T10:32:59.000294Z

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?

sashton 2018-01-16T15:37:42.001040Z

@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

sashton 2018-01-16T15:39:01.000420Z

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

sashton 2018-01-16T15:43:54.000631Z

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

sashton 2018-01-16T15:44:09.000100Z

proto-repl namespaces not found

sashton 2018-01-16T15:49:54.000302Z

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

sashton 2018-01-16T15:55:50.000457Z

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