Using wpf: Unit Testing Wpf Bindings on newest questions tagged wpf – Stack Overflow
I have seen one or two questions on testing Wpf bindings at Stackoverflow and have had a good look around on the web for examples of how this might be done. I know some people feel that this is something that doesn’t really need to be tested and can be tested visually, but I believe there is value in having unit tests to test your bindings. As I couldn’t find any example of how to do this, I have had a go at writing some code to do this. The code works nicely in the scenarios I have tested and I feel the testing interface is pretty easy to use. I have added a link to the code as I’d like to get feedback from anyone who is interested in unit testing their Wpf bindings.
Please let me know what you think?
Using wpf: using-wpf