Created
August 27, 2019 17:11
-
-
Save djtango/f5b81183d269eaf5eaa73122796cc061 to your computer and use it in GitHub Desktop.
Clojure Socket Repl + clojure.test exception
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns socket-test.core) | |
(defn foo | |
"I don't do a whole lot." | |
[x] | |
(println x "Hello, World!")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns socket-test.core-test | |
(:require [clojure.test :refer :all] | |
[socket-test.core :refer :all])) | |
(deftest a-test | |
(testing "FIXME, I fail." | |
(is (= 0 1)))) | |
(comment | |
(do ;; pipe this to socket repl with (ns socket-test.core-test) prepended | |
(require 'socket-test.core-test :reload) | |
(run-tests) | |
) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject socket-test "0.1.0-SNAPSHOT" | |
:dependencies [[org.clojure/clojure "1.10.0"]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stacktrace: