How to Create Silverlight Control Using TDD (Test Driven Development)

In this article we will learn:

  • How to create simple Silverlight expander control
  • What could be tested in Silverlight control
  • Microsoft Silverlight Unit Test Framework overview


To work with Silverlight 4 in Visual Studio 2010, you will need to download and install Silverlight Tools 4

  • Microsoft Silverlight Unit Test Framework overview

– Unit tests run right inside the web browser

– Enables testing of rich controls and the entire Silverlight platform

– Rich in-browser logging

– Basic asynchronous testing support

  • What can be tested in Silverlight control

– DependencyProperty

– Control contract

– State of child controls inside template

  • How to create Silverlight control using TDD (demo)

– ExpanderControl


Looking for quality Silverlight Hosting? Look no further than Arvixe Web Hosting!


Source Code

Tags: , , , , , , , , , | Posted under 3rd Party Software, Programming/Coding | RSS 2.0

Leave a Reply

Your email address will not be published. Required fields are marked *

2 + = 9

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>