diff --git a/project.clj b/project.clj index ac0ee09..efb59c1 100644 --- a/project.clj +++ b/project.clj @@ -5,4 +5,5 @@ :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/core.match "0.2.0-rc5"]] + :profiles {:dev {:dependencies [[midje "1.5.1"]]}} :main robotwar.core) diff --git a/test/robotwar/assembler_test.clj b/test/robotwar/assembler_test.clj index d794aa8..d63dab4 100644 --- a/test/robotwar/assembler_test.clj +++ b/test/robotwar/assembler_test.clj @@ -1,6 +1,7 @@ (ns robotwar.assembler-test - (:use (clojure [string :only [join]] - [test]) + (:use [clojure.string :only [join]] + [clojure.test] + [midje.sweet] [robotwar.assembler])) (def line1 "IF DAMAGE # D GOTO MOVE ; comment or something") diff --git a/test/robotwar/brain_test.clj b/test/robotwar/brain_test.clj index cb81447..e5765c4 100644 --- a/test/robotwar/brain_test.clj +++ b/test/robotwar/brain_test.clj @@ -1,5 +1,6 @@ (ns robotwar.brain-test (:use [clojure.test] + [midje.sweet] [robotwar.brain]) (:require [robotwar.world :as world] [robotwar.register :as register] diff --git a/test/robotwar/core_test.clj b/test/robotwar/core_test.clj index d782f2e..f5a484f 100644 --- a/test/robotwar/core_test.clj +++ b/test/robotwar/core_test.clj @@ -1,3 +1,4 @@ (ns robotwar.core-test - (:require [clojure.test :refer :all] - [robotwar.core :refer :all])) + (:use [clojure.test] + [midje.sweet] + [robotwar.core])) diff --git a/test/robotwar/register_test.clj b/test/robotwar/register_test.clj index a6e36d5..87e0458 100644 --- a/test/robotwar/register_test.clj +++ b/test/robotwar/register_test.clj @@ -1,7 +1,8 @@ (ns robotwar.register-test - (:require [clojure.test :refer :all] - [robotwar.register :refer :all] - [robotwar.world :as world])) + (:use [clojure.test] + [midje.sweet] + [robotwar.register]) + (:require [robotwar.world :as world])) (def world (world/init-world 256 256 [""])) (def robot-path [:robots 0])