Unit Testing : How do I abstract the M to test the VM in MVVM when using RIA Services -
OK, I'm still having a crisis of discretion.
I have no luck in trying to isolate RIA services from our Silverlight application so that we can do proper unit testing.
At this time we have an idea and look at the models, and the domain contact model no matter how much we try, we can not find any way to summarize DomainContext or entities So that we can change them with test data.
Recommended strategies for the unit are to test a visual model which is dependent on RIA services?
Did you see my blog post that was displayed in this way? Specifically, this allows you to plug a fake domain client below DomainContext, so that you can test your visual model on any server using a domain contact without any reliance on it.
Comments
Post a Comment