Include :all test selector by default.
This commit is contained in:
parent
a6d0a174df
commit
87753f890f
2 changed files with 3 additions and 2 deletions
|
@ -39,7 +39,8 @@ each namespace and print an overall summary."
|
|||
nses (if (or (empty? args) (every? keyword? args))
|
||||
(sort (namespaces-in-dir (:test-path project)))
|
||||
(filter symbol? args))
|
||||
selectors (map (:test-selectors project) (filter keyword? args))
|
||||
selectors (map (merge {:all '(constantly true)}
|
||||
(:test-selectors project)) (filter keyword? args))
|
||||
selectors (if (and (empty? selectors)
|
||||
(:default (:test-selectors project)))
|
||||
[(:default (:test-selectors project))]
|
||||
|
|
2
todo.org
2
todo.org
|
@ -51,8 +51,8 @@ See also http://github.com/technomancy/leiningen/issues
|
|||
the standard lucene index system that Maven repositories offer.
|
||||
This would also mean getting Clojars to produce those indices.
|
||||
* For 1.4
|
||||
** TODO :all and :none test-selectors built-in
|
||||
** TODO :uberjar-exclusions?
|
||||
** DONE :all test-selector built-in
|
||||
** DONE test selectors need to support things like constantly, complement
|
||||
** DONE detect missing level of nesting in project.clj's deps/dev-deps
|
||||
** DONE clear out non-transitive .class files after AOT
|
||||
|
|
Loading…
Reference in a new issue