Permalink
Browse files

Mention :test-selectors in sample.project.clj.

  • Loading branch information...
1 parent c444d4e commit ab0b885aaba0b5e8ff07675c2f3aa638033fb21d @technomancy committed Nov 25, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 sample.project.clj
View
@@ -47,6 +47,10 @@
;; Load these namespaces on startup to pick up hooks from
;; them. Hooks are generally included in plugins.
:hooks [leiningen.hooks.difftest]
+ ;; Predicates to determine whether to run a test or not. See tutorial.
+ :test-selectors {:default (fn [t] (not (or (:integration v) (:regression v))))
+ :integration :integration
+ :regression :regression}
;; Set this to true to search the classpath for hooks. Will load all
;; namespaces matching leiningen.hooks.*. Warning: this will cause
;; Leiningen to start slowly, especially with many dependencies.

0 comments on commit ab0b885

Please sign in to comment.