Question

I need to have SpecFlow generate NUnit Tests with the RequiresSTA attribute. How can I do that?

Était-ce utile?

La solution

The autogenerated xxx.feature.cs file has a partial class definition. Simply create an xxxFeature.cs with another partial class that has the attribute on it.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top