'Specflow filter via dotnet test CLI

I'm using the dotnet test CLI with specflow and would like to filter the tests using feature name. I have no problem filtering on specflow tag values, but have not had luck filtering on feature name.

Specflow documentation explains that testpath:Feature:MyFeatureName1 should work. However, I have not found the proper way have that work through the dotnet test command line.

This works for tags only:

Category=MyTag1 & Category=MyTag2

However, this does not work:

Category=MyTag1 & Category=MyTag2 & Category=testpath:Feature:MyFeatureName1

Is this possible?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source