slagyr / speclj

pronounced "speckle": a TDD/BDD framework for Clojure.
MIT License
459 stars 58 forks source link

Automatically running tests fails with namespace not found error #33

Closed onlyafly closed 11 years ago

onlyafly commented 11 years ago

When running tests automatically with "lein spec -a", the tests sometimes fail to run with an error like this:

java.lang.Exception: namespace 'myproject.foo-bar' not found after loading '/myproject/foo_bar'
    ... 9 stack levels elided ...
    at myproject.baz$eval3504$loading__4784__auto____3505.invoke(baz.clj:1)
    [...]

This only happens occasionally on reload and never happens with a plain "lein spec"

slagyr commented 11 years ago

This should be resolved on 2.6.0 with the handling of compile errors.