Permalink
Browse files

running the test suite should not recompile and reload between tests!

  - This appears to have been introduced innocently during a
    refactoring http://github.com/technomancy/leiningen/commit/a9936d22
    It is a crippling bug, making test suites run an order of magnitude 
    slower, as they recompile the entire app between test files.
  • Loading branch information...
1 parent 7de0b79 commit 12b4bf10a32810b4478ceefe3af2a49f4e0a03ee @stuarthalloway stuarthalloway committed May 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/leiningen/test.clj
@@ -29,7 +29,7 @@ each namespace and print an overall summary."
add-numbers# (fn [a# b#] (if (number? a#)
(+ a# b#) a#))
summary# (reduce (fn [summary# n#]
- (require n# :reload-all)
+ (require n#)
;; TODO: apply run-tests across all test-nses
(merge-with add-numbers#
summary#

0 comments on commit 12b4bf1

Please sign in to comment.