Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top