Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit ab0b885aaba0b5e8ff07675c2f3aa638033fb21d 1 parent c444d4e
@technomancy authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 sample.project.clj
View
4 sample.project.clj
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.