An Original Idea

because all great software begins with an original idea

Archive for April 3rd, 2008

Silverlight 2 has built in Unit Testing

Posted by anoriginalidea on April 3, 2008

image

As announced by Scott Guthrie in Mix08, and now on his blog, Silverlight 2 incorporates visual unit testing.  

One of the motivations for an MVC/MVP architecture for me is better unit testing of ui logic.  Sometimes it is very difficult to created automated visual tests for some platforms, such as Winforms. 

It appears (from the demo) that Silverlight allows pretty good testing of the actual user interface.    Probably more effective than testing ui logic with mock views.

Food for thought.  Perhaps this should affect the way we think about testing frameworks.

If you’re interested, take a look at this good (and short) video demo which gives you an overview of the whole thing:

Video walkthrough of the Silverlight 2 control unit tests – Jeff Wilcox

 

Links

Open Source automation frameworks for Winforms and other Win32 Apps

 


Share this post :

Posted in Silverlight, Unit Testing | Tagged: , , | 1 Comment »