Permalink
Browse files

Refactor test to run with swank-clojure-project structure. Also, move…

… spec_helper.clj to test directory
  • Loading branch information...
mudphone committed Dec 15, 2009
1 parent c03ff24 commit a4a359748bbd0d4906071a866df80d32e80ea081
Showing with 6 additions and 6 deletions.
  1. +1 −1 hbase-repl.sh
  2. 0 {src → test}/hbase_runner/spec_helper.clj
  3. +5 −5 utils/spec_suite.clj
View
@@ -9,7 +9,7 @@ fi
# You can probably leave the rest alone:
LIB_DIR="${HBASE_RUNNER_HOME}/lib"
CP_JARS="${LIB_DIR}/*"
-CP="${CP_JARS}:${HBASE_RUNNER_HOME}/src"
+CP="${CP_JARS}:${HBASE_RUNNER_HOME}/src:${HBASE_RUNNER_HOME}/test"
# Add extra classpath, if any -- for example the location of hbase-site.xml.
if [ ! -z "${HBR_XCP}" ]; then
View
@@ -1,9 +1,9 @@
-(ns hbase-runner.hbase-repl-spec
- (:use hbase-runner.hbase-repl))
+(ns hbase-runner.all-hbase-repl-spec
+ (:use [clojure.test :only [run-tests deftest is]])
+ (:use hbase-runner.hbase-repl)
+ (:use hbase-runner.spec-helper)
+ (:use hbase-runner.hbase-repl-spec))
(start-hbase-repl :test "hbr_spec")
-(load-file "src/hbase_runner/spec_helper.clj")
-(load-file "test/hbase_runner/hbase_repl_spec.clj")
-
(run-tests)

0 comments on commit a4a3597

Please sign in to comment.