Written January 17, 2008 at 14:25 MST Tagged c sharp
I'll blog about the details of what I'm working on at a later date (if I can disclose). Needless to say. Make sure you use the TestFixture attribute as follows:
[TestFixture(ApartmentState = ApartmentState.STA)]
public class When_the_tree_item_is_expanded
This ensures that all of the tests in the fixture will run in a Single Threaded Apartment. And no putting the STAThread attribute on top of the test method won't do it!!
Develop with passion!!