<?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: Naming your test methods</title>
	<atom:link href="http://lostechies.com/jasonmeridth/2008/02/10/naming-your-test-methods/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/jasonmeridth/2008/02/10/naming-your-test-methods/</link>
	<description>Just another LosTechies site</description>
	<lastBuildDate>Thu, 29 Mar 2012 20:33:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: joeyDotNet</title>
		<link>http://lostechies.com/jasonmeridth/2008/02/10/naming-your-test-methods/#comment-216</link>
		<dc:creator>joeyDotNet</dc:creator>
		<pubDate>Mon, 11 Feb 2008 18:19:38 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jason_meridth/archive/2008/02/09/naming-your-test-methods.aspx#comment-216</guid>
		<description>The only thing you don&#039;t get with F2 is the ability to easily create a sentence like test name by actually writing a sentence.  At least not as easily.

One of my R# live templates (nt) is for creating a new test which looks like this:

[Test]
public void &quot;TESTNAME&quot;()
{
}

With the TESTNAME part highlighted so I can just start typing a sentence including spaces.  Then a short Alt-S + Alt-U later (spaces to underscores) I&#039;m in business...using a tweaked version of the BDD macro that JP, Scott, Joe and others have showed.

Might seem like a small thing, but I&#039;ve found it speeds me up.  And of course you can always F2 it later if you need to change it.</description>
		<content:encoded><![CDATA[<p>The only thing you don&#8217;t get with F2 is the ability to easily create a sentence like test name by actually writing a sentence.  At least not as easily.</p>
<p>One of my R# live templates (nt) is for creating a new test which looks like this:</p>
<p>[Test]<br />
public void &#8220;TESTNAME&#8221;()<br />
{<br />
}</p>
<p>With the TESTNAME part highlighted so I can just start typing a sentence including spaces.  Then a short Alt-S + Alt-U later (spaces to underscores) I&#8217;m in business&#8230;using a tweaked version of the BDD macro that JP, Scott, Joe and others have showed.</p>
<p>Might seem like a small thing, but I&#8217;ve found it speeds me up.  And of course you can always F2 it later if you need to change it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Bennage</title>
		<link>http://lostechies.com/jasonmeridth/2008/02/10/naming-your-test-methods/#comment-215</link>
		<dc:creator>Christopher Bennage</dc:creator>
		<pubDate>Mon, 11 Feb 2008 14:10:28 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jason_meridth/archive/2008/02/09/naming-your-test-methods.aspx#comment-215</guid>
		<description>I pretty much do the same thing as you Jason.  I care a lot about names, but I was wasting a lot of time naming things up front.  
Now, I either &#039;X&#039; or best guess and take solace in the fact that I can easily F2 it as soon as I know more.</description>
		<content:encoded><![CDATA[<p>I pretty much do the same thing as you Jason.  I care a lot about names, but I was wasting a lot of time naming things up front.<br />
Now, I either &#8216;X&#8217; or best guess and take solace in the fact that I can easily F2 it as soon as I know more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Patterson</title>
		<link>http://lostechies.com/jasonmeridth/2008/02/10/naming-your-test-methods/#comment-214</link>
		<dc:creator>Chris Patterson</dc:creator>
		<pubDate>Sun, 10 Feb 2008 16:14:46 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jason_meridth/archive/2008/02/09/naming-your-test-methods.aspx#comment-214</guid>
		<description>A good way to break the log jam in naming your tests is to look at the acceptance criteria of the story you are developing.

- When the passenger is traveling to another country, they must have a passport.

public class When_the_passenger_is_traveling_to_another_country()
{
    [Test]
    public void They_must_have_a_passport()
{
}
}

Just an example I know, but it makes sense if you start from a well defined story with solid acceptance criteria.

</description>
		<content:encoded><![CDATA[<p>A good way to break the log jam in naming your tests is to look at the acceptance criteria of the story you are developing.</p>
<p>- When the passenger is traveling to another country, they must have a passport.</p>
<p>public class When_the_passenger_is_traveling_to_another_country()<br />
{<br />
    [Test]<br />
    public void They_must_have_a_passport()<br />
{<br />
}<br />
}</p>
<p>Just an example I know, but it makes sense if you start from a well defined story with solid acceptance criteria.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
