I'm implementing unit testing in my Prism composite application and trying to implement Microsoft Pex (http://research.microsoft.com/en-us/projects/pex/) to speed up this task. But I'm experiencing a lot of troubles linked to Prism. Despite the use of Moles to stub Prism implementations, I have a lot of errors and problems doing it.
Has someone already successfully used Pex with a Prism application?
Thanks in advance for your answers
After hours of struggle, I finally managed to implement tests in the project I wanted. Here are some details about my experience of Pex and Moles (I also use CodeContracts and I advise it, but this has no incidence here) with a Prism composite application.
If someone can help my answer and give some more details and correction, it would be more than welcome!