Вопрос

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

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top