<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Walkthrough: The power of the November 2009 Silverlight Toolkit testing tools</title>
	<atom:link href="http://www.jeff.wilcox.name/2009/11/november-walkthrough/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/</link>
	<description>Silverlight, rich client apps and web development</description>
	<lastBuildDate>Fri, 30 Jul 2010 19:17:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jon</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2211</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 09 Feb 2010 20:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2211</guid>
		<description>I used non-silverlight class libraries with the POCO templates for my silverlight application. Because they weren&#039;t from a Silverlight class library it won&#039;t let me add these projects as references to my silverlight test project. Any ideas on what I should do? What&#039;s different about a Silverlight Class Lbirary from a normal class library?</description>
		<content:encoded><![CDATA[<p>I used non-silverlight class libraries with the POCO templates for my silverlight application. Because they weren&#8217;t from a Silverlight class library it won&#8217;t let me add these projects as references to my silverlight test project. Any ideas on what I should do? What&#8217;s different about a Silverlight Class Lbirary from a normal class library?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Angela</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2210</link>
		<dc:creator>Angela</dc:creator>
		<pubDate>Mon, 08 Feb 2010 22:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2210</guid>
		<description>Update on my previous comment: I&#039;ve discovered that on my XP setup the tag expression works only with Firefox. On my Win 7 setup it works with IE and Chrome, but not Firefox. Strange.</description>
		<content:encoded><![CDATA[<p>Update on my previous comment: I&#8217;ve discovered that on my XP setup the tag expression works only with Firefox. On my Win 7 setup it works with IE and Chrome, but not Firefox. Strange.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2209</link>
		<dc:creator>Malcolm</dc:creator>
		<pubDate>Mon, 08 Feb 2010 17:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2209</guid>
		<description>For everyone asking on how to make the MSBuild task fail when a test fails: when I was looking at this, I noticed that ContinueOnError is hardcoded as &quot;true&quot; in the RunTests task.

To fix this, I edited the Microsoft.Silverlight.Toolkit.Build.targets file that came with the toolkit release, and in the target &quot;RunTests&quot;, for the RunUnitTestsTask action, I changed ContinueOnError=&quot;true&quot; to ContinueOnError=&quot;$(ContinueOnError)&quot;. Then at the commandline I could pass /p:TreatTestFailuresAsErrors=true;ContinueOnError=false to make the task fail on failed tests.</description>
		<content:encoded><![CDATA[<p>For everyone asking on how to make the MSBuild task fail when a test fails: when I was looking at this, I noticed that ContinueOnError is hardcoded as &#8220;true&#8221; in the RunTests task.</p>
<p>To fix this, I edited the Microsoft.Silverlight.Toolkit.Build.targets file that came with the toolkit release, and in the target &#8220;RunTests&#8221;, for the RunUnitTestsTask action, I changed ContinueOnError=&#8221;true&#8221; to ContinueOnError=&#8221;$(ContinueOnError)&#8221;. Then at the commandline I could pass /p:TreatTestFailuresAsErrors=true;ContinueOnError=false to make the task fail on failed tests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bret Stateham</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2208</link>
		<dc:creator>Bret Stateham</dc:creator>
		<pubDate>Thu, 04 Feb 2010 05:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2208</guid>
		<description>Jeff, I kind of answered my own question by getting the controls added to the toolbox manually, I guess I just though the install would have dropped them in there.  

I learned a lot about the controls locations while I looked into it though, and made my own blog post about all of the Silverlight 4 Beta controls, their Namespaces, Assemblies, and Assembly paths at: 

http://blogs.netconnex.com/2010/02/silverlight-4-beta-control-namespaces.html

Others may find the info there helpful.

Thanks!</description>
		<content:encoded><![CDATA[<p>Jeff, I kind of answered my own question by getting the controls added to the toolbox manually, I guess I just though the install would have dropped them in there.  </p>
<p>I learned a lot about the controls locations while I looked into it though, and made my own blog post about all of the Silverlight 4 Beta controls, their Namespaces, Assemblies, and Assembly paths at: </p>
<p><a href="http://blogs.netconnex.com/2010/02/silverlight-4-beta-control-namespaces.html" rel="nofollow">http://blogs.netconnex.com/2010/02/silverlight-4-beta-control-namespaces.html</a></p>
<p>Others may find the info there helpful.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bret Stateham</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2207</link>
		<dc:creator>Bret Stateham</dc:creator>
		<pubDate>Wed, 03 Feb 2010 04:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2207</guid>
		<description>Jeff,  thanks for the great post.  I am prepping a vm for some Silvlerlight 4 development research. I have  a fresh install of VS2010 Pro Beta 2, the Silverlight 4 Tools for VS2010 Beta 2, and the November 2009 release of the tookit for Silverlight 4 Beta. All seemed to install fine.  

When I create a Silverlight 4 Application project (with website) in VS2010 however, I don&#039;t see the Silverlight Tookit controls (like the charts, etc) in the toolbox.  The regular Silverlight controls are there, but not the tookit controls.  

Im sure I&#039;m being brain dead, but can you point me in the right direction to get those toolkit controls to show up in the toolbox in VS2010?  What about in the Expression Blend 4 Preview?

Thanks!</description>
		<content:encoded><![CDATA[<p>Jeff,  thanks for the great post.  I am prepping a vm for some Silvlerlight 4 development research. I have  a fresh install of VS2010 Pro Beta 2, the Silverlight 4 Tools for VS2010 Beta 2, and the November 2009 release of the tookit for Silverlight 4 Beta. All seemed to install fine.  </p>
<p>When I create a Silverlight 4 Application project (with website) in VS2010 however, I don&#8217;t see the Silverlight Tookit controls (like the charts, etc) in the toolbox.  The regular Silverlight controls are there, but not the tookit controls.  </p>
<p>Im sure I&#8217;m being brain dead, but can you point me in the right direction to get those toolkit controls to show up in the toolbox in VS2010?  What about in the Expression Blend 4 Preview?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2206</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Fri, 29 Jan 2010 15:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2206</guid>
		<description>How do you integrate the unit test with a tfsbuild project? I would like for our daily build to fail if a test fails and haven&#039;t found anything on how to do this with this new framework.</description>
		<content:encoded><![CDATA[<p>How do you integrate the unit test with a tfsbuild project? I would like for our daily build to fail if a test fails and haven&#8217;t found anything on how to do this with this new framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2205</link>
		<dc:creator>Allan</dc:creator>
		<pubDate>Thu, 28 Jan 2010 15:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2205</guid>
		<description>I see that only certain information about the test is logged in the trx file.

I get the &#039;TestMethod&#039; information which includes the name (among other).
If I use the &#039;Description&#039; attribute on a test case, then I also get the  in the test details in the trx.
However if I use the &#039;Priority&#039; attribute on the test case, then this is not logged in the trx file.

1. Is there any documentation on which attributes are logged in the trx file? 
2. Is it possible to customize what is logged?
2. I would like to create my own attribute type, how can I have this logged in the trx?

The reason for asking is that I&#039;d like to do some custom parsing of the log files, and being able to group the tests based on certain criteria would be useful.

Thanks,</description>
		<content:encoded><![CDATA[<p>I see that only certain information about the test is logged in the trx file.</p>
<p>I get the &#8216;TestMethod&#8217; information which includes the name (among other).<br />
If I use the &#8216;Description&#8217; attribute on a test case, then I also get the  in the test details in the trx.<br />
However if I use the &#8216;Priority&#8217; attribute on the test case, then this is not logged in the trx file.</p>
<p>1. Is there any documentation on which attributes are logged in the trx file?<br />
2. Is it possible to customize what is logged?<br />
2. I would like to create my own attribute type, how can I have this logged in the trx?</p>
<p>The reason for asking is that I&#8217;d like to do some custom parsing of the log files, and being able to group the tests based on certain criteria would be useful.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2204</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Wed, 27 Jan 2010 21:45:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2204</guid>
		<description>@Angela,
Without the Tag attributes, can you still use tag expressions?

All test names are implicit tag expressions, so if you have a test method called &quot;MyTest1&quot; you should be able to run with the parameter tagexpression=MyTest1.</description>
		<content:encoded><![CDATA[<p>@Angela,<br />
Without the Tag attributes, can you still use tag expressions?</p>
<p>All test names are implicit tag expressions, so if you have a test method called &#8220;MyTest1&#8243; you should be able to run with the parameter tagexpression=MyTest1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2203</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Wed, 27 Jan 2010 20:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2203</guid>
		<description>Jeff, I finally got the test to work. I had to remove my old test project, create a new one with the new templates, and then transfer all the tests over. One question though, how can I make the build fail when I get a failed test? The failed message came out as a warning and did not make the build fail.

@Angela,
It seems like it&#039;s a browser issue. I tried with chrome and I got the same error you did. Firefox is the only one that seems to be working.</description>
		<content:encoded><![CDATA[<p>Jeff, I finally got the test to work. I had to remove my old test project, create a new one with the new templates, and then transfer all the tests over. One question though, how can I make the build fail when I get a failed test? The failed message came out as a warning and did not make the build fail.</p>
<p>@Angela,<br />
It seems like it&#8217;s a browser issue. I tried with chrome and I got the same error you did. Firefox is the only one that seems to be working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2202</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Wed, 27 Jan 2010 14:34:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2202</guid>
		<description>Jeff,
Thanks for the help. I finally got the test project to run using Firefox. This is a great framework!

Unfortunately, our build environment runs on XP and is restricted to Internet Explorer only. If I can&#039;t convince our admins to install Firefox, I&#039;ll have to wait for a future release that addresses the XP/IE issue.

Thanks.</description>
		<content:encoded><![CDATA[<p>Jeff,<br />
Thanks for the help. I finally got the test project to run using Firefox. This is a great framework!</p>
<p>Unfortunately, our build environment runs on XP and is restricted to Internet Explorer only. If I can&#8217;t convince our admins to install Firefox, I&#8217;ll have to wait for a future release that addresses the XP/IE issue.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2201</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Tue, 26 Jan 2010 19:08:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2201</guid>
		<description>Hey Jeff, I tried what you suggested and it didn&#039;t work. I get the same error. Can you think of anything else I can try?</description>
		<content:encoded><![CDATA[<p>Hey Jeff, I tried what you suggested and it didn&#8217;t work. I get the same error. Can you think of anything else I can try?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2200</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Tue, 26 Jan 2010 17:55:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2200</guid>
		<description>@Keith,
&quot;Headless&quot;: does this mean there is no UI session at all? Or that the test is running on a VM/TS session that isn&#039;t necessarily able to receive OS focus messages?

The plugin failing to load is a rare one indeed - but one thing you can try and do in case this is just an issue with unhandled exceptions bubbling up to the browser instead of the test framework, you could modify your app&#039;s unhandled exception handler goo inside of App.xaml.cs to no longer include the ReportErrorToDOM() method.

One major issue with the Silverlight unit test framework is that it is a Silverlight application in and of itself, effectively self hosted - so if anything majorly wrong happens (wild browser crash, plugin AV, wild CLR bug, etc.) then you&#039;ll probably not get a chance to respond to the problem and get results. So I dunno what the right answer is.

On the timeouts, I don&#039;t have a great answer. At least on our team, we have tens of thousands of test methods in some test assemblies... so it&#039;s kind of a waste to have a forced timeout of say 30 minutes - because it&#039;s possible on a very slow machine, or VM, that 30 minutes would not even be enough for us... but I will admit, timeout behavior in the past was implemented and has probably regressed in the shipped build. Not something we rely on much.

-Jeff</description>
		<content:encoded><![CDATA[<p>@Keith,<br />
&#8220;Headless&#8221;: does this mean there is no UI session at all? Or that the test is running on a VM/TS session that isn&#8217;t necessarily able to receive OS focus messages?</p>
<p>The plugin failing to load is a rare one indeed &#8211; but one thing you can try and do in case this is just an issue with unhandled exceptions bubbling up to the browser instead of the test framework, you could modify your app&#8217;s unhandled exception handler goo inside of App.xaml.cs to no longer include the ReportErrorToDOM() method.</p>
<p>One major issue with the Silverlight unit test framework is that it is a Silverlight application in and of itself, effectively self hosted &#8211; so if anything majorly wrong happens (wild browser crash, plugin AV, wild CLR bug, etc.) then you&#8217;ll probably not get a chance to respond to the problem and get results. So I dunno what the right answer is.</p>
<p>On the timeouts, I don&#8217;t have a great answer. At least on our team, we have tens of thousands of test methods in some test assemblies&#8230; so it&#8217;s kind of a waste to have a forced timeout of say 30 minutes &#8211; because it&#8217;s possible on a very slow machine, or VM, that 30 minutes would not even be enough for us&#8230; but I will admit, timeout behavior in the past was implemented and has probably regressed in the shipped build. Not something we rely on much.</p>
<p>-Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2199</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Tue, 26 Jan 2010 17:50:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2199</guid>
		<description>@Jay,
Try msbuild /t:test yourProject.csproj and let me know how that goes... the &quot;upgrade&quot; scenario from the previous test template projects I shipped isn&#039;t perfect unfortunately...</description>
		<content:encoded><![CDATA[<p>@Jay,<br />
Try msbuild /t:test yourProject.csproj and let me know how that goes&#8230; the &#8220;upgrade&#8221; scenario from the previous test template projects I shipped isn&#8217;t perfect unfortunately&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2198</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Tue, 26 Jan 2010 17:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2198</guid>
		<description>@Christian,
Also, you may be msbuild&#039;ing the .sln instead of the .csproj: try msbuild /t:test yourProjectFile.csproj, instead of just calling msbuild - which will favor the solution file I believe.</description>
		<content:encoded><![CDATA[<p>@Christian,<br />
Also, you may be msbuild&#8217;ing the .sln instead of the .csproj: try msbuild /t:test yourProjectFile.csproj, instead of just calling msbuild &#8211; which will favor the solution file I believe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2009/11/november-walkthrough/comment-page-1/#comment-2197</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Tue, 26 Jan 2010 17:48:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2009/11/november-walkthrough/#comment-2197</guid>
		<description>@Christian,
If you&#039;ve installed the Toolkit, you should find the template .Zip in your system. You can extract it to find the barebones .csproj, though it&#039;ll have a few Visual Studio template replacement markers in it.

Look in &quot;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\CSharp\Silverlight\1033\&quot; or similar paths.</description>
		<content:encoded><![CDATA[<p>@Christian,<br />
If you&#8217;ve installed the Toolkit, you should find the template .Zip in your system. You can extract it to find the barebones .csproj, though it&#8217;ll have a few Visual Studio template replacement markers in it.</p>
<p>Look in &#8220;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\CSharp\Silverlight\1033\&#8221; or similar paths.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
