This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-16
Channels
- # announcements (1)
- # aws (11)
- # beginners (3)
- # boot (63)
- # cbus (1)
- # cljs-dev (4)
- # clojure (96)
- # clojure-dev (5)
- # clojure-germany (2)
- # clojure-japan (43)
- # clojure-poland (2)
- # clojure-russia (38)
- # clojure-sg (2)
- # clojurescript (138)
- # clojurex (1)
- # cursive (3)
- # datomic (16)
- # docs (6)
- # emacs (3)
- # events (2)
- # ldnclj (42)
- # off-topic (6)
- # om (384)
- # onyx (122)
- # spacemacs (6)
Hi, would anyone know the best way to run Clojure tests in Spacemacs?
I'm trying to work on the exercises at http://exercism.io and when I follow their suggestions I get the following error
bob-test> (load-file bob-test.clj)
CompilerException java.lang.ClassNotFoundException: bob-test.clj, compiling:(/tmp/form-init7323770406609653905.clj:1:1)
@bordeltabernacle: In Spacemacs I use CIDER and https://github.com/clojure-emacs/cider#cider-test-report-mode. Assumes you have this setup.
@bordeltabernacle: Also the exercism example should be (load-file “bob_test.clj”). Assumes file name is underscored and namespace is (ns bob-test). That works.
@griffio: hey, thanks, yeah I was missing the quotes and the underscore, got it working now. i'm new to both clojure & emacs and haven't settled into a workflow with them yet.