I'm looking for a way to specify what tests run when using specrun's command line (runtests.cmd). Is there a way to only run tests with a specific flag or specific feature file?

Or is there another tool for kicking off tests other than runtests.cmd?


1 Answer 1


I found out that you can filter tests in the Default.srprofile, for example


will only run tests with the tag @myTag. More info is provided here: http://www.specflow.org/media/specrun.html#US18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.