slagyr / speclj

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

Running a single spec #137

Open eeng opened 9 years ago

eeng commented 9 years ago

While running with autospec (-a) sometimes I need to run a single test (for example, to see the log produced only by that test). Is there a way to "focus" on a particular test? In Rspec that can be done with tags in conjunction with the run_all_when_everything_filtered setting. It could be nice to have something like the xit macro but for focusing on individual tests (maybe named "fit"?). Sorry if there is already another way to do this, but could find it on the docs.

Thanks for this library by the way.