5

Resolved

Support running unit tests in MTA

description

Today, xUnit.net hard-codes tests to run in the STA. Consider adding some ability to run tests in the MTA (runner switch, attribute, etc.).

comments

Haacked wrote Oct 20, 2011 at 8:40 PM

I ran into this today when trying to call ManualResetEvent.WaitAll in a unit test. :)

Augi wrote Oct 3, 2012 at 9:31 AM

Same issue here :(

BradWilson wrote Mar 22, 2014 at 11:38 PM

In v2, all tests run in the MTA.