slagyr / speclj

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

Autotest runs tests twice when specifying reporter #149

Open eyelidlessness opened 8 years ago

eyelidlessness commented 8 years ago

Repro

lein spec --autotest --reporter=progress

Expected result

Tests will run once at start, and once when watcher fires, outputting results with the specified reporter.

Observed result

Tests run twice at start, and twice when watcher fires, outputting with the specified reporter as well as the default.

Workaround

I did find a workaround:

lein spec --runner=vigilant --reporter=progress

This allowed me to move forward, but I had to figure it out by trial and error after a close reading of lein spec -h.

russellwhitaker commented 8 years ago

I've seen the same problem myself, from the command line. Interestingly, this problem doesn't occur under Eclipse (Mars.1 Release (4.5.1) / Counterclockwise.