Ok, I got this far, marked up some xaml, and got the boot strappers boot strapping some views view their respective presenters within the modules. Yeah!
But really, what happens if I move forward now? Without tests I get myself into trouble. I could just move forward, but I?d have no regression, no ability to cleanly refactor, and no ability to know if I broke things that already work! So I?m heading into the world of unit tests and am going to figure out how to make future endeavors more TDD (or TAD ? Test After Development?). Either way, this thing needs some tests before I bluntly slam into the next steps.
First off, make sure you have the appropriate equipment for the job. The Composite Application Guidance for WPF and Silverlight ? February 2009 link has the goods you?ll need. The specific links are as follows;
- Visual Studio 2008 SDK 1.1
- Binaries for white (they have source too, it is an open source project)
- Silverlight Unit Test Framework
Install the SDK, then put those assemblies somewhere handy. I nabbed a bit of reference from Justin Angel at this juncture. He has a great write up on getting these parts setup with the Silverlight Unit Testing Framework, Rhinomocks, Unity, and ReSharper ? exactly along the lines of what I wanted. After a quick perusal of his blog entry I tore through a quick setup and first tests.
?here?s the assemblies:
D:\Machine Load\Visual Studio 2008\All the Parts for UI Unit Tests w Silverlight and WPF\White-bin-11-9-2008
D:\Machine Load\Visual Studio 2008\All the Parts for UI Unit Tests w Silverlight and WPF\Unit test framework\Unit test framework