TDD with WPF/M-V-VM?

104 views
Skip to first unread message

Bill

unread,
Feb 25, 2009, 9:31:33 AM2/25/09
to Test Driven Development
Hi,

Has anyone seen any good examples of using TDD with the Model-View-
ViewModel Pattern? I've seen a few examples of having a couple unit
tests with the ViewModel but nothing really being driven Test First.

Thanks in Advance!
Bill

Tim Gifford

unread,
Feb 25, 2009, 5:33:31 PM2/25/09
to Test-Driven...@googlegroups.com
Bill,

JB Boodhoo has some great examples of Model View Presenter with web
apps. Here is one of his screencasts:
http://blog.jpboodhoo.com/ScreencastAppliedTestDrivenDevelopmentForWebApplicationsPart3.aspx

hope that helps!
-Tim
--
Tim Gifford, Founder
Sayso -- http://www.saysomobile.com
t...@saysomobile.com
515-419-1909
Twitter: timgifford
Skype: timothygifford

Bill

unread,
Feb 26, 2009, 4:04:52 PM2/26/09
to Test Driven Development
Tim,

Thanks for the response! Yes, I actually have all of JP's videos
downloaded on my machine. He is so awesome! I know that when we had
done some MVP stuff previously that it is similar to MVVM except for
the databinding. I'll have to go back and watch that and see what I
can transfer from that knowledge. I've just seen alot of folks
publishing MVVM articles but none of them have been done from a test
first perspective.

thanks,
Bill

On Feb 25, 5:33 pm, Tim Gifford <tgiff...@gmail.com> wrote:
> Bill,
>
> JB Boodhoo has some great examples of Model View Presenter with web
> apps. Here is one of his screencasts:http://blog.jpboodhoo.com/ScreencastAppliedTestDrivenDevelopmentForWe...
>
> hope that helps!
> -Tim
>
> On Wed, Feb 25, 2009 at 8:31 AM, Bill <agilemeis...@gmail.com> wrote:
>
> > Hi,
>
> > Has anyone seen any good examples of using TDD with the Model-View-
> > ViewModel Pattern? I've seen a few examples of having a couple unit
> > tests with the ViewModel but nothing really being driven Test First.
>
> > Thanks in Advance!
> > Bill
>
> --
> Tim Gifford, Founder
> Sayso --http://www.saysomobile.com
Reply all
Reply to author
Forward
0 new messages