Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top