Threading Model

Build 2231 (available on Experimental Updates) and later now supports setting the threading model for test runs to STA, which is the default, or MTA. This lets you exercise your code under test with different COM Apartment threading models, which is pretty useful if you know what this means — and not so useful otherwise.

The default is STA, which lets you get at Windows Forms functionality, such as the clipboard in test, and roughly corresponds to [STAThread] around your method mains for Windows Forms applications. In this mode, you can make ‘unit tests’ that show individual controls and exercise them through API calls to help test user interface.

Access this from TestMatrix | Options on the menu.

  Permalink |  Comments[2]


Recent Entries

 » Build 2687 Posted
 » New Unit Testing Book
 » Build 2293 Update Posted
 » Microsoft Team System NUnit Adapter
 » MS Team System Test Support


You can leave a response, or trackback from your own site.

2 Responses to “Threading Model”

  1. zefsacechaphy Says:

    For the best and hottest local strippers come visit http://strippers.corpchaos.com We have the best in Male and Female entertainment. If your a dancer and want to join us we are looking for girls from every where in the US.

  2. best exercise dvds Says:

    Nice way of putting it.I came across your writing from Yahoo and enjoyed it tremendously. Have you been writing for long?Not long ago I recently developed a blog on my own and its been a really fun process. I’ve met some interesting friends since then although it can be boring at times! Once again, thanks a million for your post!

Leave a Reply