Package mikera.cljunit
Class ClojureTest
- java.lang.Object
-
- mikera.cljunit.ClojureTest
-
public abstract class ClojureTest extends Object
-
-
Constructor Summary
Constructors Constructor Description ClojureTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringfilter()Specifies a prefix filter for namespaces to test, e.g.List<String>namespaces()Returns a list of namespaces for testing.
-
-
-
Method Detail
-
namespaces
public List<String> namespaces()
Returns a list of namespaces for testing. Subclasses may override this to provide a specific list of namespaces to test. The default is to get all namespaces which start with the String returned by the `filter` method in this class.- Returns:
- A list of strings giving the names of Clojure namespaces to test, in the form "my.thing.foo"
-
filter
public String filter()
Specifies a prefix filter for namespaces to test, e.g. "my.organisation"- Returns:
- A prefix string with which to filter namespaces, or null to match all namespaces.
-
-