nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02794
[Question #202777]: how to globally enforce of STA in NUnit 2.6 ?
New question #202777 on NUnit Framework:
https://answers.launchpad.net/nunit-3.0/+question/202777
Hello,
Is there any way that allows global enforement of STA in NUnit 2.6 ?
I recently read that NUnit no longer recognizes settings regarding Single/Multiple Thread Apartment from configuration files.
Presently I'm working on what I think is pretty common setup (C#, NUnit,SpecFlow,Selenium2 and hundreds of scenarios spread among few sepearate projects in one solution.). I have chosen NUnit mainly because of standalone runner. After conversion from Microsoft Test Framework and subsequent upgrade to NUnit 2.6 standalone runner reports error in every scenario, saying basically that tests should run in STA mode. File,where it complains about it are all generated by SpecFlow which can hardly be pressed to put additional attributes in it's generated code...
Could someone suggest a way to remedy this, as I'd like to leave this test suite to be a bit more future-proof, not bound to 2.5.x line... ?
Best Regards,
Piotr
--
You received this question notification because you are a member of
NUnit Core Developers, which is an answer contact for NUnit Framework.