-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extend use of clojure plugin to compile and run clojure juint testcas…
…es - hopefully these will create coverage for the clojure code that they exercise... also added execution of gendoc to site phase - untested closes #47
- Loading branch information
1 parent
a7648b3
commit d2a26be
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
;; see if we can integrate clojure with surefire/junit and thence with | ||
;; cobertura... | ||
|
||
(ns org.dada.CoreTestCase | ||
(:gen-class | ||
:extends junit.framework.TestCase | ||
;;:init init | ||
:methods [[testCore [] void]] | ||
) | ||
;;(:use []) | ||
(:import [junit.framework TestCase] ;;[] | ||
)) | ||
|
||
(defn -testCore [this] | ||
(TestCase/assertTrue (Boolean/TRUE)) | ||
(println "TESTED!")) |