Closed mylesmegyesi closed 11 years ago
This is not a good idea; it will not work for many projects. If a project wants to run in Leiningen, they should just set :eval-in :leiningen
themselves and it will have the same effect.
Resolved. The lein spec
task will set :eval-in :subprocess
by default but users can override this by setting :speclj-eval-in :leiningen
. This way they can avoid setting :eval-in
in their projects.clj
which could have other undesirable effects.
Instead of launching a new JVM to run tests, run the tests in the leiningen JVM. On my machine, this patch decreases the amount of time to run
lein spec
from 6 secs down to 3 secs for the speclj test suite.