|
Java example source code file (run_test.clj)
The run_test.clj Java example source code
(System/setProperty "java.awt.headless" "true")
(require
'[clojure.test :as test]
'[clojure.tools.namespace.find :as ns])
(def namespaces (remove (read-string (System/getProperty "clojure.test-clojure.exclude-namespaces"))
(ns/find-namespaces-in-dir (java.io.File. "test"))))
(doseq [ns namespaces] (require ns))
(let [summary (apply test/run-tests namespaces)]
(System/exit (if (test/successful? summary) 0 -1)))
Other Java examples (source code examples)Here is a short list of links related to this Java run_test.clj source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.