guardian / sbt-jasmine-plugin

An SBT plugin for running jasmine tests in your build.
23 stars 28 forks source link

Missing information that only tests named *spec.js are taken into account #4

Closed tdziurko closed 10 years ago

tdziurko commented 11 years ago

I've spent few hours trying to figure out why my test setup does not see tests lying in a proper directory and finally after looking into source code I found that this problematic line:

val specsDir = testRoot / "specs" * "spec.js"

It would be much better and clearer if this condition on naming convention could be mentioned in a readme file.

anovstrup commented 11 years ago

I just lost an hour or so over this issue as well. Please resolve!

joescii commented 10 years ago

I likewise hit this problem. It is now documented at its new home. Let me know if you think it could be improved.

tdziurko commented 10 years ago

Looks good! Thank you :)