3 ms·
> I like to unit test and it allows me to do model-view-viewmodel. Almost everything I write is testable and it feels elegant. What are you using for testing?
by city41 16y ago
> I like to unit test and it allows me to do model-view-viewmodel. Almost everything I write is testable and it feels elegant.
What are you using for testing? How well does it integrate with Visual Studio, how easy is it to debug a test, and how well does it integrate with your build tools? Silverlight's lack of proper testing environments is one of the biggest strikes I have against it. I'd love to rectify that.
- ttrashh 16y agoI'm using Visual Studio unit tests (mstest) to test my viewmodels. Nunit would work too. I use model-view-viewmodel so I have very little (or no) code in the codebehind. If you want to take testing further look at the silverlight unit test framework in the silverlight toolkit. I haven't tried that but it seems to get updated with every version of the toolkit.