Silverlight Beta 2 Released and what that means for the Testing Framework.


ok..  So Silverlight Beta 2 was released on and it has some great new features. But what is the story about testing…?

1 Jeff Willcox blogged about a small change you will need to make in order to use the existing testing framework. It is
essentially adding a cast to the initial startup code for the testing framework.  He also posted new C# and VB.net project
and item templates. He also hinted that there will be a new release of the test framework and some samples of integration
with a Continuous Integration server.  I am excited about that.  I have some prototypes that were half baked to do this,
I just have not had any time to make it usable.

 

  1. The one feature that I am happy to see is the UI Automation (UIA) support. The UIA will make test driving the UI and
    producing a true end-to-end test possible with a well documented and supported API.  Accessibility is supported in WPF
    so there are some controls that implement these features in this latest release of silverlight. UI Automation has all the hooks to allow
    testing tools to drive an application through the U.  Reference http://en.wikipedia.org/wiki/Microsoft_UI_Automation 

The best part about silverlight supporting UIA is that a number of people have already paved the way by testing WPF using
this  API… http://blogs.msdn.com/llobo/archive/2007/09/06/testing-using-wpf-ui-automation.aspx 

Once again I think ThoughtWorks leads the way with their open source project http://www.codeplex.com/white.  Looking at
the getting started page, I am excited to see how easier their helper “core” library integrates with nunit…. What more could I ask for?

 

As I upgrade my previous samples to the Beta 2 Framework and experiment with the White project I will have some posting coming soon.

 

Happily Testing

Eric Hexter

 

 

 

 

 

 

Silverlight Testing – Part 2 – Making the test easier understand.