This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-19
Channels
- # adventofcode (44)
- # announcements (2)
- # aws (9)
- # beginners (166)
- # braveandtrue (16)
- # calva (170)
- # cider (14)
- # cljdoc (9)
- # cljs-dev (4)
- # cljsrn (1)
- # clojars (1)
- # clojure (150)
- # clojure-dev (15)
- # clojure-europe (4)
- # clojure-india (3)
- # clojure-italy (93)
- # clojure-nl (18)
- # clojure-serbia (1)
- # clojure-spec (5)
- # clojure-uk (45)
- # clojurescript (54)
- # cursive (19)
- # data-science (8)
- # datomic (83)
- # emacs (6)
- # events (1)
- # hoplon (3)
- # hyperfiddle (3)
- # jobs (6)
- # jobs-discuss (1)
- # klipse (1)
- # lein-figwheel (6)
- # leiningen (15)
- # lumo (1)
- # nrepl (1)
- # pedestal (15)
- # re-frame (48)
- # reagent (4)
- # reitit (2)
- # remote-jobs (1)
- # rum (2)
- # shadow-cljs (111)
- # spacemacs (10)
- # sql (16)
- # testing (10)
- # tools-deps (5)
is there a way to call leiningen/test in the repl? use case: i have a jar im deploying but the jar does not know about clojure or lein (lightweight docker) I want to be able to call an entrypoint tht just runs certain tests. (perhaps a main function which calls leiningen/test
i want to be able to call something lke:
lein test :smoke
in a function that is an entrypoint for a smoke test docker image
Not sure if that answers your question but you can call clojure.test
- e.g. run-tests
: https://clojure.github.io/clojure/clojure.test-api.html#clojure.test/run-tests
@ben.borders a jar you built wouldn’t have leiningen as a dependency, so it wouldn’t be available on the classpath
Is there a way to run some code automatically after lein repl
is loaded? I think I saw something like that but can't find the relevant docs
for lein repl
, there is this https://github.com/technomancy/leiningen/blob/2.8.3/sample.project.clj