Test With... Silverlight/CoreCLR

I have just released a new version of TestDriven.NET (2.7 Beta) with support for Silverlight/CoreCLR. Simply right click on the method you would like to execute with the CoreCLR and select 'Test With... Silverlight'. You can use this to execute any public methods (ad-hoc tests). I recommend you use 'Console.WriteLine' for any output messages. 'Trace.WriteLine' is supported by Silverlight's version of 'System.dll' but you would need to use something like DebugView to see the output.

Here is an example method being executed with Silverlight:

As shown above you do have access to the 'System.Windows.Browser.HtmlPage' static methods and properties (from the 'System.Silverlight' assembly). Hopefully people will find this feature useful for spelunking the Silverlight functionality.

I am working on proper unit testing support for Silverlight projects. At the moment none of the unit testing frameworks supported by TestDriven.NET (NUnit, MbUnit, MSTest or Zanebug) are compatible with the CoreCLR. I have had some success getting unit tests running using NUnitLite. You are welcome to contact me if you would like to try an early version of this.

Published Wednesday, May 16, 2007 9:23 AM by Jamie Cansdale

Comments

# paraesthesia

Pingback from  paraesthesia

Thursday, May 17, 2007 2:23 PM by paraesthesia

# TestDriven.NET (2.7 Beta) 支持Silverlight/CoreCLR

Saturday, May 19, 2007 6:10 AM by 自由、创新、研究、探索……

# TestDriven.NET (2.7 Beta) 支持Silverlight/CoreCLR

内容参见 weblogs.asp.net/.../test-with-silverlight-coreclr.aspx 自由、创新、研究

Saturday, May 19, 2007 6:48 AM by 毛遂自荐博客集

# Points of interest #8

Another week has shot by. Didn't have any time to look at Silverlight although I have managed to

Sunday, May 20, 2007 8:18 AM by Community Blogs

# Silverlight Reflector Add-in Now a community Project

Jamie Cansdale of Test Driven.Net has improved the Reflector Silverlight Add-in and started a community

Tuesday, May 22, 2007 7:17 PM by The Electron Sculptor

# A week with Silverlight 1.1

Richard Griffin , Steven Evans and I spent a week working on a Silverlight demo that Paul Dawson used

Monday, June 04, 2007 5:39 PM by Howard van Rooijen's Blog

# Silverlight Examples

During the weekend I spent some minutes to collect some of the greatest Silverlight examples. Most of

Tuesday, June 05, 2007 6:25 AM by Michael's Blog

# re: Test With... Silverlight/CoreCLR

Cool...

Monday, June 11, 2007 4:16 AM by Augustinos

# bathroom sinks

Friday, August 03, 2007 5:15 PM by bathroom sinks

# bathroom vanity cabinet

Saturday, August 04, 2007 11:44 AM by bathroom vanity cabinet

# bathroom vanity

Saturday, August 04, 2007 6:55 PM by bathroom vanity

# Developer News » Blog Archive » [Team System] Team Foundation Server 2008 (TFS) Feature Listthx to

Pingback from  Developer News  » Blog Archive   »  [Team System] Team Foundation Server 2008 (TFS) Feature Listthx to

# Can I Replace My JavaScript Code With a Silverlight App?

Some say DOM scripting will end in fire,Some say in Silverlight.Still others say with much desire,That...

Monday, November 26, 2007 1:25 AM by K. Scott Allen

# Can I Replace My JavaScript Code With a Silverlight App?

Some say DOM scripting will end in fire, Some say in Silverlight. Still others say with much desire,

Monday, November 26, 2007 1:43 AM by BusinessRx Reading List

# Developer News » Blog Archive » The Forces of Long Tail Software and ServicesChris Anderson’s book

Pingback from  Developer News  » Blog Archive   »  The Forces of Long Tail Software and ServicesChris Anderson’s book

# Developer News » Blog Archive » Test With… Silverlight/CoreCLRI have just released a new version of

Pingback from  Developer News  » Blog Archive   »  Test With… Silverlight/CoreCLRI have just released a new version of

# re: Test With... Silverlight/CoreCLR

Does this work with Silverlight 2.0 Beta 2?

Wednesday, July 30, 2008 12:08 PM by Don Baechtel

Leave a Comment

(required) 
(required) 
(optional)
(required)