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

# 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

# re: Test With... Silverlight/CoreCLR

The Silverlight Unit Test Framework has the option of using custom log providers. I wonder if testdriven.net could host a service that the log provider will talk to, so you can get full integration with TD.NET, nCover etc.

Tuesday, December 09, 2008 7:52 PM by Morten

# re: Test With... Silverlight/CoreCLR

Cok tesekkuler twitterde bu site hakkinda konusmustuk... twitter acc varmi? selamlar damla

Monday, November 28, 2011 8:51 PM by Arizona Attorney General

# re: Test With... Silverlight/CoreCLR

I cant find a link where i can subscribe to this blog, webmaster how can i follow your blog?

Teddy Tschicke

Tuesday, February 28, 2012 5:13 PM by Home Heating Systems

# re: Test With... Silverlight/CoreCLR

dqmB0R Really informative blog post.Much thanks again. Awesome.

Saturday, March 31, 2012 10:09 AM by oem software online

# re: Test With... Silverlight/CoreCLR

Aw, this was a really nice post. In idea I wish to put in writing like this moreover – taking time and actual effort to make an excellent article… however what can I say… I procrastinate alot and certainly not seem to get something done.

Monday, June 25, 2012 8:26 PM by dell computer support laptops

# re: Test With... Silverlight/CoreCLR

gOmnzs Im thankful for the post.Much thanks again. Fantastic.

Saturday, November 03, 2012 7:54 PM by crork