Skip to content
Snippets Groups Projects
Commit ad838424 authored by Cam Saul's avatar Cam Saul
Browse files

Add dependencies for dox and unit tests, add first unit test

parent 1a754b4c
Branches
Tags
No related merge requests found
......@@ -10,3 +10,4 @@ pom.xml.asc
.hgignore
.hg/
.idea/
/docs
......@@ -12,6 +12,18 @@ FIXME: explanation
$ java -jar metabase-init-0.1.0-standalone.jar [args]
## Documentation
Generate documentation with
lein marg
## Unit Tests
Run unit tests with
lein expectations
## Options
FIXME: listing of options this app accepts.
......
......@@ -3,7 +3,15 @@
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]]
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.6.0"]
[expectations "2.0.12"] ; unit tests
[marginalia "0.7.1"] ; for documentation
]
:plugins [[cider/cider-nrepl "0.8.2"] ; Interactive development w/ cider NREPL in Emacs
[lein-expectations "0.0.7"] ; run unit tests with 'lein expectations'
[lein-marginalia "0.7.0"] ; generate documentation with 'lein marg'
]
:main ^:skip-aot metabase-init.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all}})
(ns metabase-init.core-test
(:require [clojure.test :refer :all]
[metabase-init.core :refer :all]))
(:use expectations)
(:require [metabase-init.core :refer :all]))
(deftest a-test
(testing "FIXME, I fail."
(is (= 0 1))))
;; Basic sanity check
(expect 2 (+ 1 1))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment