I am trying to unit test my WPF databindings using the test suit provided by Microsoft Team System. I would like to be able to test the bindings without showing the window
While looking for a solution to convert WPF binding errors into exception, I figured out that it can also be used in a unit test project.
The technique is very simple:
TraceListener that throws instead of loggingPresentationTraceSources.DataBindingSourcePlease see the complete solution on GitHub, it includes a unit test project.
