<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Testing your tests</title>
	<link>http://www.vinktank.com/test-automation/testing-your-tests/</link>
	<description>Pragmatic software testing &#038; development by Kristan Vingrys</description>
	<pubDate>Tue, 06 Jan 2009 03:34:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Evan Bottcher</title>
		<link>http://www.vinktank.com/test-automation/testing-your-tests/#comment-254</link>
		<author>Evan Bottcher</author>
		<pubDate>Thu, 31 Jan 2008 12:27:43 +0000</pubDate>
		<guid>http://www.vinktank.com/test-automation/testing-your-tests/#comment-254</guid>
		<description>I haven't had a chance to try this out - but have a look at 'heckle'.

http://glu.ttono.us/articles/2006/12/19/tormenting-your-tests-with-heckle

It's very much about unit tests, but it's a fascinating idea.  Mutate the code under test, to ensure that some test fails if any logic is modified.  If it works this would be much more effective than code coverage...</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t had a chance to try this out - but have a look at &#8216;heckle&#8217;.</p>
<p><a href="http://glu.ttono.us/articles/2006/12/19/tormenting-your-tests-with-heckle" rel="nofollow">http://glu.ttono.us/articles/2006/12/19/tormenting-your-tests-with-heckle</a></p>
<p>It&#8217;s very much about unit tests, but it&#8217;s a fascinating idea.  Mutate the code under test, to ensure that some test fails if any logic is modified.  If it works this would be much more effective than code coverage&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.vinktank.com/test-automation/testing-your-tests/#comment-251</link>
		<author>admin</author>
		<pubDate>Thu, 24 Jan 2008 23:31:36 +0000</pubDate>
		<guid>http://www.vinktank.com/test-automation/testing-your-tests/#comment-251</guid>
		<description>Carfield,

The problem I am trying to describe is with tests that are written incorrectly and therefore do not go "red" when they should. This is not something you will pick up by looking at coverage because there is a test to cover the functionality. However the test is written incorrectly and therefore does not fail when it would be expected to. Just as people make mistakes when writing code (also known as bugs) people make mistakes when writing tests. To find the bugs in the tests you need to test them. Bugs in tests are generally not that the test will never pass, instead the bugs are that the test passes when it should fail.

Kristan</description>
		<content:encoded><![CDATA[<p>Carfield,</p>
<p>The problem I am trying to describe is with tests that are written incorrectly and therefore do not go &#8220;red&#8221; when they should. This is not something you will pick up by looking at coverage because there is a test to cover the functionality. However the test is written incorrectly and therefore does not fail when it would be expected to. Just as people make mistakes when writing code (also known as bugs) people make mistakes when writing tests. To find the bugs in the tests you need to test them. Bugs in tests are generally not that the test will never pass, instead the bugs are that the test passes when it should fail.</p>
<p>Kristan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carfield Yim</title>
		<link>http://www.vinktank.com/test-automation/testing-your-tests/#comment-250</link>
		<author>Carfield Yim</author>
		<pubDate>Thu, 24 Jan 2008 09:03:07 +0000</pubDate>
		<guid>http://www.vinktank.com/test-automation/testing-your-tests/#comment-250</guid>
		<description>Usually if tests have problem will trigger red bar.

If the the test haven't covered some case, it is coverage problem more.</description>
		<content:encoded><![CDATA[<p>Usually if tests have problem will trigger red bar.</p>
<p>If the the test haven&#8217;t covered some case, it is coverage problem more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Durnall</title>
		<link>http://www.vinktank.com/test-automation/testing-your-tests/#comment-249</link>
		<author>Richard Durnall</author>
		<pubDate>Wed, 23 Jan 2008 11:39:52 +0000</pubDate>
		<guid>http://www.vinktank.com/test-automation/testing-your-tests/#comment-249</guid>
		<description>How do I test my tests that test the tests? : )

Isn't this more of a case of thinking about what the right test should be? In the case above the 2 and 2 is a bad test compared to 2 and 3 (or anything else that could easily yield the correct result with an easily fudged implementation)?

I've dived into TDD in the last few weeks and I'm struggling with the paradigm from the point of view of what is the right test to write and what level of abstraction do I write it at. I think that's pretty normal though...and I agree. It is satisying when a test suddenly fails.</description>
		<content:encoded><![CDATA[<p>How do I test my tests that test the tests? : )</p>
<p>Isn&#8217;t this more of a case of thinking about what the right test should be? In the case above the 2 and 2 is a bad test compared to 2 and 3 (or anything else that could easily yield the correct result with an easily fudged implementation)?</p>
<p>I&#8217;ve dived into TDD in the last few weeks and I&#8217;m struggling with the paradigm from the point of view of what is the right test to write and what level of abstraction do I write it at. I think that&#8217;s pretty normal though&#8230;and I agree. It is satisying when a test suddenly fails.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
