Unit testing multi-threaded WPF applications

While working to make a WPF application more responsive by offloading time consuming operations to .net 4.5 tasks (one of my favorite things!), I ran into a problem.  Some of the unit tests just hung.  This was because code running on the UI thread was modified to run a task, which eventually invoked a method…

0