Has anyone had experience testing WPF controls using NUnit?
There are a few problems I've come across that seem to make it a pretty time consuming task:
- The problems that NUnitForms tries to solve - ie. simulating a button click etc...
- NUnit uses MTA Threads - in some cases WPF controls require STA
threads. There's a 'CrossThreadRunnerHelper' solution out there that
allows you to run a test in a separate thread. But this also makes
things even more complex.
Does anyone have any ideas on making this process a bit simpler? Samples/Examples would be appreciated.