SpecFlow NUnit RequiresSTA attribute
-
05-07-2021 - |
Pergunta
I need to have SpecFlow generate NUnit Tests with the RequiresSTA attribute. How can I do that?
Solução
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.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow