Fork me on GitHub
#protorepl
<
2018-01-16
>
ben.mumford10:01:59

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?

sashton15:01:42

@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

sashton15:01:01

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

sashton15:01:54

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

sashton15:01:09

proto-repl namespaces not found

sashton15:01:54

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

sashton15:01:50

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