Archive for January, 2008

NUnit 2.4.6 Support

Fresh build this morning on Experimental updates, NUnit 2.4.6 is supported in releases 2237 and higher.

  Permalink |  Comments[0]

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[0]