I am trying to write a test case where I have to access UI Thread. Does Nunit provide a way to access the ui thread or is there anyway I can execute some code on UI Thread in my test case. Thanks
Update: I'm using winform. The usual way is to have the presentation layer and write the test cases against it but in this situation I have a grid that I need to work with and to populate it, its DataSource property needs to be set on UI Thread.