<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Assert.Inconclusive</title><link>http://blogs.msdn.com/b/cellfish/archive/2011/01/22/assert-inconclusive.aspx</link><description>I'm currently using MSTest in my day to day work and I'm not always writing true unit tests but occasionally I'm also writing what I call integration tests. That is tests that uses a real database and/or web service. As such these integration tests are</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Assert.Inconclusive</title><link>http://blogs.msdn.com/b/cellfish/archive/2011/01/22/assert-inconclusive.aspx#10119610</link><pubDate>Mon, 24 Jan 2011 21:28:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10119610</guid><dc:creator>Pascal Craponne</dc:creator><description>&lt;p&gt;Unfortunately, Assert.Inconclusive marks the build as partially failed when using TFS build and automated tests.&lt;/p&gt;
&lt;p&gt;In this case, there are two options:&lt;/p&gt;
&lt;p&gt;- make the tests more reliable (for example retry twice your ping).&lt;/p&gt;
&lt;p&gt;- remove them from release build (in my job, I run the tests locally in debug configuration and TFS build runs them in release configuration, so a few differences can be made)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10119610" width="1" height="1"&gt;</description></item><item><title>re: Assert.Inconclusive</title><link>http://blogs.msdn.com/b/cellfish/archive/2011/01/22/assert-inconclusive.aspx#10119037</link><pubDate>Sat, 22 Jan 2011 18:41:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10119037</guid><dc:creator>Emil Gustafsson</dc:creator><description>&lt;p&gt;@Matthew: Yes I agree it&amp;#39;s a cop-out. And frequent inconclusive tests should be addressed and fixed. But when yo only get occasional failures due to environment glitches I think it&amp;#39;s better to signal it as a known glitch than just failing. Naturally you can fail with a good message but my experience is that differentiating known glitches from actual failures leads to less stress in the team since it&amp;#39;s easy to identify the &amp;quot;glitch failures&amp;quot;.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10119037" width="1" height="1"&gt;</description></item><item><title>re: Assert.Inconclusive</title><link>http://blogs.msdn.com/b/cellfish/archive/2011/01/22/assert-inconclusive.aspx#10119005</link><pubDate>Sat, 22 Jan 2011 15:12:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10119005</guid><dc:creator>Matthew</dc:creator><description>&lt;p&gt;I don&amp;#39;t feel very comfortable with this idea. It feels like a bit of a cop-out for when we don&amp;#39;t have the time to make sure our integration tests run in a reliable/repeatable manner. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10119005" width="1" height="1"&gt;</description></item><item><title>re: Assert.Inconclusive</title><link>http://blogs.msdn.com/b/cellfish/archive/2011/01/22/assert-inconclusive.aspx#10118987</link><pubDate>Sat, 22 Jan 2011 11:20:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10118987</guid><dc:creator>chrisgl</dc:creator><description>&lt;p&gt;I think this is a way Assert.Inconclusive is meant to be used.&lt;/p&gt;
&lt;p&gt;I think including an informative Message, so the Tester knows which Problem to Fix to get the Test running, is very important.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10118987" width="1" height="1"&gt;</description></item></channel></rss>