MVP and Unit Testing

Topics: CAB & Smart Client Software Factory
Apr 18, 2007 at 1:52 AM
Easier unit testing is one motivation for MVP (some would say the motivation). Confession: I'm just now getting around to it. First hurdle? The presenter's dependence on a WorkItem. I understand there is one hiding in the reference apps. I guess I'll shoulder my pick and dig it out on my own.

BEFORE I DO, does anyone have a good tutorial or word of advice on MVP unit testing in CAB/SCSF land?

Second, does anyone think it would be a good idea if the VP recipes generated a test harness (at least optionally)?
Apr 25, 2007 at 3:16 PM
I think the best place to see what's necessary is the reference app -- it has examples and the mock CAB items needed.

Jun 24, 2007 at 1:57 AM
Which particular reference app do you suggest?
Thanks
Kirsten
Jun 25, 2007 at 2:41 AM
Use the TestableWorkItem to host your tests.

http://staff.southworks.net/blogs/matiaswoloski/default.aspx