Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

instructions for running the tests

  • Loading branch information...
commit 45d389d27f680bb3c505883c9947476886cfd99b 1 parent b7cec28
@stuarthalloway stuarthalloway authored
View
11 README.markdown
@@ -95,6 +95,16 @@ If you don't know emacs you may want to pick one of the choices above. The learn
* Making sure your emacs working directory is the labrepl, run `inferior-lisp`.
* If you want slime as well, run `slime-connect` and accept the defaults. You now have slime and inferior-lisp both working simultaneously.
+# Running the Tests
+
+## Maven
+
+`mvn clojure:test`
+
+## From Shell Script (Unix)
+
+`script/test`
+
# Thanks for contributions and reviews from
* Aaron Bedra
@@ -105,4 +115,5 @@ If you don't know emacs you may want to pick one of the choices above. The learn
* Alex Ott
+
View
2  pom.xml
@@ -25,8 +25,8 @@
<sourceDirectory>src</sourceDirectory>
</sourceDirectories>
<clojureOptions>-Xmx1G</clojureOptions>
- <runWithTests>false</runWithTests>
<replScript>script/run.clj</replScript>
+ <testScript>script/test.clj</testScript>
</configuration>
</plugin>
</plugins>
View
2  script/repl
@@ -5,4 +5,4 @@ for f in lib/*.jar; do
CLASSPATH=$CLASSPATH:$f
done
-java -Xmx1G -cp $CLASSPATH jline.ConsoleRunner clojure.main -e "(require 'labrepl) (set! *print-length* 100) (labrepl/-main)$LABREPL_SWANK" -r
+java -Xmx1G -cp $CLASSPATH jline.ConsoleRunner clojure.main -i script/run.clj -r
View
2  script/test
@@ -5,4 +5,4 @@ for f in lib/*.jar; do
CLASSPATH=$CLASSPATH:$f
done
-java $@ -Xmx1G -cp $CLASSPATH clojure.main -e "(use 'circumspec.runner) (run-tests-and-exit)"
+java $@ -Xmx1G -cp $CLASSPATH clojure.main script/test.clj
View
2  script/test.clj
@@ -0,0 +1,2 @@
+(use 'circumspec.runner)
+(run-tests-and-exit)
Please sign in to comment.
Something went wrong with that request. Please try again.