<?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: Silverlight unit testing templates updated</title>
	<atom:link href="http://www.jeff.wilcox.name/2008/10/final-ut-templates/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeff.wilcox.name/2008/10/final-ut-templates/</link>
	<description>Silverlight, rich client apps and web development</description>
	<lastBuildDate>Wed, 10 Mar 2010 13:26:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2008/10/final-ut-templates/comment-page-1/#comment-751</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Thu, 06 Nov 2008 17:08:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/10/24/final-ut-templates/#comment-751</guid>
		<description>@Sudhir,
The ability to test private types is not available in Silverlight since Silverlight applications are untrusted. The reflection code in the Silverlight BCL will not allow private reflection.

Although this may be a tough limitation to deal with, do know that some test teams have found private member testing to be very costly, high-maintainence, and not very helpful in the long term.</description>
		<content:encoded><![CDATA[<p>@Sudhir,<br />
The ability to test private types is not available in Silverlight since Silverlight applications are untrusted. The reflection code in the Silverlight BCL will not allow private reflection.</p>
<p>Although this may be a tough limitation to deal with, do know that some test teams have found private member testing to be very costly, high-maintainence, and not very helpful in the long term.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudhir</title>
		<link>http://www.jeff.wilcox.name/2008/10/final-ut-templates/comment-page-1/#comment-750</link>
		<dc:creator>Sudhir</dc:creator>
		<pubDate>Thu, 06 Nov 2008 14:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/10/24/final-ut-templates/#comment-750</guid>
		<description>Hi,

I&#039;m using the latest SL unittest binaries for unittesting my SL projects. It surely is a very handy tool. (wishing MS integrates it into VS sometime in the future). However i have a small glitch.

With unit testing framework of .net and Visual Studio 2008, we can pull in any class, methods,properties which are *private* or *internal*. Visual studio generates the unit test code and automatically adds these magic code behind the accessor so that all private/public methods are accessible to test code.

    [Shadowing(&quot;UnitTest_TestApp.Program&quot;)]
    public class Program_Accessor : BaseShadow
    {
        protected static PrivateType m_privateType;

        [Shadowing(&quot;.ctor@0&quot;)]
        public Program_Accessor();
        public Program_Accessor(PrivateObject __p1);

        public static PrivateType ShadowedType { get; }
        [Shadowing(&quot;Str&quot;)]
        public string Str { get; set; }
        [Shadowing(&quot;str&quot;)]
        public string str { get; set; }

        [Shadowing(&quot;Add@1&quot;)]
        public string Add(string str);
        [Shadowing(&quot;Add@2&quot;)]
        public string Add(string str, float f);
        [Shadowing(&quot;Add@2&quot;)]
        public string Add(string str, int i);
        public static Program_Accessor AttachShadow(object __p1);
        [Shadowing(&quot;Main@1&quot;)]
        public static void Main(string[] args);
    }

I wanted to know if i could do something similar with SL UnitTest Framework. I want to access my private/internal memembers of the production code assembly in my unit test assembly.

Thanks for any help.
-Sudhir</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m using the latest SL unittest binaries for unittesting my SL projects. It surely is a very handy tool. (wishing MS integrates it into VS sometime in the future). However i have a small glitch.</p>
<p>With unit testing framework of .net and Visual Studio 2008, we can pull in any class, methods,properties which are *private* or *internal*. Visual studio generates the unit test code and automatically adds these magic code behind the accessor so that all private/public methods are accessible to test code.</p>
<p>    [Shadowing("UnitTest_TestApp.Program")]<br />
    public class Program_Accessor : BaseShadow<br />
    {<br />
        protected static PrivateType m_privateType;</p>
<p>        [Shadowing(".ctor@0")]<br />
        public Program_Accessor();<br />
        public Program_Accessor(PrivateObject __p1);</p>
<p>        public static PrivateType ShadowedType { get; }<br />
        [Shadowing("Str")]<br />
        public string Str { get; set; }<br />
        [Shadowing("str")]<br />
        public string str { get; set; }</p>
<p>        [Shadowing("Add@1")]<br />
        public string Add(string str);<br />
        [Shadowing("Add@2")]<br />
        public string Add(string str, float f);<br />
        [Shadowing("Add@2")]<br />
        public string Add(string str, int i);<br />
        public static Program_Accessor AttachShadow(object __p1);<br />
        [Shadowing("Main@1")]<br />
        public static void Main(string[] args);<br />
    }</p>
<p>I wanted to know if i could do something similar with SL UnitTest Framework. I want to access my private/internal memembers of the production code assembly in my unit test assembly.</p>
<p>Thanks for any help.<br />
-Sudhir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 2008 October 24 - Links for today &#171; My (almost) Daily Links</title>
		<link>http://www.jeff.wilcox.name/2008/10/final-ut-templates/comment-page-1/#comment-678</link>
		<dc:creator>2008 October 24 - Links for today &#171; My (almost) Daily Links</dc:creator>
		<pubDate>Mon, 27 Oct 2008 07:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/10/24/final-ut-templates/#comment-678</guid>
		<description>[...] Jeff Wilcox informs us that the Silverlight unit testing templates updated [...]</description>
		<content:encoded><![CDATA[<p>[...] Jeff Wilcox informs us that the Silverlight unit testing templates updated [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Wilcox</title>
		<link>http://www.jeff.wilcox.name/2008/10/final-ut-templates/comment-page-1/#comment-677</link>
		<dc:creator>Jeff Wilcox</dc:creator>
		<pubDate>Sat, 25 Oct 2008 16:07:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/10/24/final-ut-templates/#comment-677</guid>
		<description>@Valentin,
We&#039;re trying to find the best way to get an easy-to-use solution out there.

The rather abstract and extensible &quot;Test Service&quot; built into the RC0/RTW release of the test framework includes support for reporting block-level code coverage of a single assembly.

Using it requires a separate instrumentation process that is different from the one that ships in Visual Studio, and is not generalized yet for us to release it. I&#039;d love to get this done, so stay tuned.</description>
		<content:encoded><![CDATA[<p>@Valentin,<br />
We&#8217;re trying to find the best way to get an easy-to-use solution out there.</p>
<p>The rather abstract and extensible &#8220;Test Service&#8221; built into the RC0/RTW release of the test framework includes support for reporting block-level code coverage of a single assembly.</p>
<p>Using it requires a separate instrumentation process that is different from the one that ships in Visual Studio, and is not generalized yet for us to release it. I&#8217;d love to get this done, so stay tuned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentin</title>
		<link>http://www.jeff.wilcox.name/2008/10/final-ut-templates/comment-page-1/#comment-676</link>
		<dc:creator>Valentin</dc:creator>
		<pubDate>Sat, 25 Oct 2008 15:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/2008/10/24/final-ut-templates/#comment-676</guid>
		<description>Hi Jeff, 
the testing framework is really great. One thing that I&#039;m really missing is the CodeCoverage. Do you have any plans on supporting that - It&#039;s really important.

--
Valentin</description>
		<content:encoded><![CDATA[<p>Hi Jeff,<br />
the testing framework is really great. One thing that I&#8217;m really missing is the CodeCoverage. Do you have any plans on supporting that &#8211; It&#8217;s really important.</p>
<p>&#8211;<br />
Valentin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
