I am working on writing a LOB application in Silverlight, and I am a little confused by all the obstacles that I face with unit testing.
- PRISM uses many extension methods, which are essentially static methods, so they are not mock-ups.
- All mocking frameworks that use dirty tricks to mock non-virtual and static methods do not work in Silverlight (for example, Moles, JustMock. Not sure about TypeMock Isolator.)
So my question is:
Is there a dependency highlighting strategy in Silverlight unit tests?
Am I missing something or just did not think about this problem correctly? Can I use user interface tests (for example, available in the new VS2010 Feature Pack 2) to get around this?
TIA
source
share