How to invoke WPF Dispatcher in Nunit?
- by Reporting Avatar
I want to test an application which renders a text block with a data field value. I would like to get the actual width and actual height, once the rendering completes. Everything works fine. The problem came first, when I tried to test the application. I'm unable to invoke the dispatcher from the test project.
Following is the code.
…