Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
stuarthalloway committed May 21, 2010
1 parent 7de0b79 commit 12b4bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leiningen/test.clj
Expand Up @@ -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#
Expand Down

0 comments on commit 12b4bf1

Please sign in to comment.