SpecRun: How to run tests filtering by .feature file

937 views Asked by At

I am trying to run tests using SpecRun. I would like to run them using the .feature file, but so far I have not succeeded :(

I am using this as a filter:

/filter:testpath:Feature:FeatureFile.feature

but no tests are run.

How can I do to specify a .feature file in SpecRun?

Thanks

1

There are 1 answers

3
Andreas Willich On

Documentation for filters are here: http://specflow.org/plus/documentation/Filter/

For your case you need to specify the parameter this way:

/filter:testpath:Feature:<FeatureTitle>

<FeatureTitle> is the title of your feature in the file. Not the file name.


Full Disclosure: I am one of the SpecFlow & SpecFlow+ developers.