<?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"
	>
<channel>
	<title>Comments on: Using Attributes to Exclude Code from Coverage</title>
	<atom:link href="http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/feed/" rel="self" type="application/rss+xml" />
	<link>http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/</link>
	<description>Coaching, Process, Design, Speculation</description>
	<pubDate>Sat, 22 Nov 2008 07:01:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: siva</title>
		<link>http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/#comment-31032</link>
		<dc:creator>siva</dc:creator>
		<pubDate>Mon, 27 Aug 2007 06:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/#comment-31032</guid>
		<description>Hi Kiwidude,
Do you have any idea to take the coverage for webservices.. I have unittests for webservices.. Using NCover.Explorer is it possible to take the coverage report(Funtion and line coverage) .. 
Note: I am able to take the coverage reports for dlls(assemblies). 

Thanks
Siva</description>
		<content:encoded><![CDATA[<p>Hi Kiwidude,<br />
Do you have any idea to take the coverage for webservices.. I have unittests for webservices.. Using NCover.Explorer is it possible to take the coverage report(Funtion and line coverage) ..<br />
Note: I am able to take the coverage reports for dlls(assemblies). </p>
<p>Thanks<br />
Siva</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiwidude</title>
		<link>http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/#comment-4641</link>
		<dc:creator>kiwidude</dc:creator>
		<pubDate>Thu, 19 Apr 2007 19:48:42 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/#comment-4641</guid>
		<description>Hi Dave - yes the namespace does matter (i.e. that there is none) for the TD.Net trick to work. Hence why putting it in an AssemblyCommonInfo.cs file works quite nicely. It's because that argument is hard-coded as //ea CoverageExcludeAttribute. As I posted above hopefully Jamie can parameterise that in some way in the future for people who do want a different name or want it in a namespace.</description>
		<content:encoded><![CDATA[<p>Hi Dave - yes the namespace does matter (i.e. that there is none) for the TD.Net trick to work. Hence why putting it in an AssemblyCommonInfo.cs file works quite nicely. It&#8217;s because that argument is hard-coded as //ea CoverageExcludeAttribute. As I posted above hopefully Jamie can parameterise that in some way in the future for people who do want a different name or want it in a namespace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/#comment-3905</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sun, 08 Apr 2007 02:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/#comment-3905</guid>
		<description>Hey Grant,

Good tip. 

I love the report and reason feature ideas.

Does it matter what namespace "CoverageExcludeAttribute" is in? The options dialog would be ideal.</description>
		<content:encoded><![CDATA[<p>Hey Grant,</p>
<p>Good tip. </p>
<p>I love the report and reason feature ideas.</p>
<p>Does it matter what namespace &#8220;CoverageExcludeAttribute&#8221; is in? The options dialog would be ideal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiwidude</title>
		<link>http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/#comment-3846</link>
		<dc:creator>kiwidude</dc:creator>
		<pubDate>Sat, 07 Apr 2007 10:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/#comment-3846</guid>
		<description>Sorry, for got to add. If you call the attribute "CoverageExcludeAttribute", then the TestDriven.Net add-in will automatically exclude when running your tests through it. It effectively has a hard-code //ea CoverageExcludeAttribute behind the scenes. Jamie has been holding off putting an options dialog in but when he does shortly that should make this more configurable.</description>
		<content:encoded><![CDATA[<p>Sorry, for got to add. If you call the attribute &#8220;CoverageExcludeAttribute&#8221;, then the TestDriven.Net add-in will automatically exclude when running your tests through it. It effectively has a hard-code //ea CoverageExcludeAttribute behind the scenes. Jamie has been holding off putting an options dialog in but when he does shortly that should make this more configurable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiwidude</title>
		<link>http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/#comment-3845</link>
		<dc:creator>kiwidude</dc:creator>
		<pubDate>Sat, 07 Apr 2007 10:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/04/05/using-attributes-to-exclude-code-from-coverage/#comment-3845</guid>
		<description>There is one trick you can do to get rid of the dependency. If you make use of a CommonAssemblyInfo.cs file linked between your projects, then define the attribute in there (preferably without a namespace). That way you have no references and no using statements to add.

The potential for abuse is a good point. An idea I have for NCoverExplorer in the future is an "exclusions" report. That way you can quickly see everything that has had the attribute applied at which scope. So developers who think they can stay under the radar by putting the attribute on all their classes will get caught out. Another idea for a future NCover version would be making the attribute support a string overload that allows developers to put a reason for the exclusion, which gets passed into the output for reporting.</description>
		<content:encoded><![CDATA[<p>There is one trick you can do to get rid of the dependency. If you make use of a CommonAssemblyInfo.cs file linked between your projects, then define the attribute in there (preferably without a namespace). That way you have no references and no using statements to add.</p>
<p>The potential for abuse is a good point. An idea I have for NCoverExplorer in the future is an &#8220;exclusions&#8221; report. That way you can quickly see everything that has had the attribute applied at which scope. So developers who think they can stay under the radar by putting the attribute on all their classes will get caught out. Another idea for a future NCover version would be making the attribute support a string overload that allows developers to put a reason for the exclusion, which gets passed into the output for reporting.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
