0

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?

Thanks!

1 Answer 1

1

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

<Filter>@myTag</Filter>

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 that you have read and understand our privacy policy and code of conduct.

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