<?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: Metrics for Plain Text Acceptance Tests</title>
	<atom:link href="http://blog.josephwilk.net/ruby/metrics-for-plain-text-acceptance-tests.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.josephwilk.net/ruby/metrics-for-plain-text-acceptance-tests.html</link>
	<description>on AI, The Web, Usability, Testing &#38; Software process</description>
	<lastBuildDate>Fri, 03 Sep 2010 19:41:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Joseph Wilk</title>
		<link>http://blog.josephwilk.net/ruby/metrics-for-plain-text-acceptance-tests.html/comment-page-1#comment-1165</link>
		<dc:creator>Joseph Wilk</dc:creator>
		<pubDate>Mon, 30 Nov 2009 23:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.josephwilk.net/?p=970#comment-1165</guid>
		<description>Thanks for all the feedback. I&#039;m focusing on my coding experiments on this in my rotten project: http://github.com/josephwilk/rotten</description>
		<content:encoded><![CDATA[<p>Thanks for all the feedback. I&#8217;m focusing on my coding experiments on this in my rotten project: <a href="http://github.com/josephwilk/rotten" rel="nofollow">http://github.com/josephwilk/rotten</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aslak Hellesøy</title>
		<link>http://blog.josephwilk.net/ruby/metrics-for-plain-text-acceptance-tests.html/comment-page-1#comment-1162</link>
		<dc:creator>Aslak Hellesøy</dc:creator>
		<pubDate>Tue, 24 Nov 2009 18:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.josephwilk.net/?p=970#comment-1162</guid>
		<description>Perryn Fowler has a vaguely related post: http://www.jroller.com/perryn/entry/given_when_then_and_how

Might be hard to detect automatically...</description>
		<content:encoded><![CDATA[<p>Perryn Fowler has a vaguely related post: <a href="http://www.jroller.com/perryn/entry/given_when_then_and_how" rel="nofollow">http://www.jroller.com/perryn/entry/given_when_then_and_how</a></p>
<p>Might be hard to detect automatically&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Mabey</title>
		<link>http://blog.josephwilk.net/ruby/metrics-for-plain-text-acceptance-tests.html/comment-page-1#comment-1160</link>
		<dc:creator>Ben Mabey</dc:creator>
		<pubDate>Mon, 23 Nov 2009 18:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.josephwilk.net/?p=970#comment-1160</guid>
		<description>One more thought relating to the scenario length smell is the step to scenario ratio.  (I think Matt has brought this up on the ML before.)  We could find out how much reuse of steps is occurring by looking at the length of scenarios versus the number of actual steps used.  The number that this tool produced would be very subjective as some projects may choose to take a very declarative approach and sacrifice step reuse.

re: ignoring warnings, the other code smell detectors use a YAML file to do this so I think that would be the best option.</description>
		<content:encoded><![CDATA[<p>One more thought relating to the scenario length smell is the step to scenario ratio.  (I think Matt has brought this up on the ML before.)  We could find out how much reuse of steps is occurring by looking at the length of scenarios versus the number of actual steps used.  The number that this tool produced would be very subjective as some projects may choose to take a very declarative approach and sacrifice step reuse.</p>
<p>re: ignoring warnings, the other code smell detectors use a YAML file to do this so I think that would be the best option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Hnatiuk</title>
		<link>http://blog.josephwilk.net/ruby/metrics-for-plain-text-acceptance-tests.html/comment-page-1#comment-1159</link>
		<dc:creator>Greg Hnatiuk</dc:creator>
		<pubDate>Mon, 23 Nov 2009 02:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.josephwilk.net/?p=970#comment-1159</guid>
		<description>Speaking of putting comments in the feature files, I think comments themselves in features files are smell. 

Narratives for Features, Scenarios, Outlines, Backgrounds, and Examples are too permissive to have to need to explain things further with comments.</description>
		<content:encoded><![CDATA[<p>Speaking of putting comments in the feature files, I think comments themselves in features files are smell. </p>
<p>Narratives for Features, Scenarios, Outlines, Backgrounds, and Examples are too permissive to have to need to explain things further with comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aslak Hellesøy</title>
		<link>http://blog.josephwilk.net/ruby/metrics-for-plain-text-acceptance-tests.html/comment-page-1#comment-1158</link>
		<dc:creator>Aslak Hellesøy</dc:creator>
		<pubDate>Mon, 23 Nov 2009 01:38:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.josephwilk.net/?p=970#comment-1158</guid>
		<description>I think this is a very interesting idea. Gherkin (the library) is pretty mature now, so implementing this can be done with a simple gherkin listener.

Another thing that drives me crazy is formatting - when people left-align steps with the word following the keyword, and not the keyword itself. That could be detectable.

Another one could be detection of duplication - and suggest refactoring to Scenario Outline.

I&#039;m building a CLI for gherkin itself, and I&#039;d be happy to include a smell detector in the gherkin gem!

I&#039;m not sure how you would ignore warnings - putting comments in the feature files to achieve that is ugly noise. Maybe a YAML file could do it - referring to files and names. In order to void orphans in the YAML file we could also check for orphans and error if they are found.</description>
		<content:encoded><![CDATA[<p>I think this is a very interesting idea. Gherkin (the library) is pretty mature now, so implementing this can be done with a simple gherkin listener.</p>
<p>Another thing that drives me crazy is formatting &#8211; when people left-align steps with the word following the keyword, and not the keyword itself. That could be detectable.</p>
<p>Another one could be detection of duplication &#8211; and suggest refactoring to Scenario Outline.</p>
<p>I&#8217;m building a CLI for gherkin itself, and I&#8217;d be happy to include a smell detector in the gherkin gem!</p>
<p>I&#8217;m not sure how you would ignore warnings &#8211; putting comments in the feature files to achieve that is ugly noise. Maybe a YAML file could do it &#8211; referring to files and names. In order to void orphans in the YAML file we could also check for orphans and error if they are found.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Mabey</title>
		<link>http://blog.josephwilk.net/ruby/metrics-for-plain-text-acceptance-tests.html/comment-page-1#comment-1157</link>
		<dc:creator>Ben Mabey</dc:creator>
		<pubDate>Mon, 23 Nov 2009 00:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.josephwilk.net/?p=970#comment-1157</guid>
		<description>Hi Joe,
I like the idea.  I think it would be best to phrase these as &quot;feature smells&quot;.  As you point out, these measures of feature quality can be very subjective.  Just like code smells these would be indicators that something might be wrong but doesn&#039;t necessarily dictate that it is. With that in mind it would be nice if such a Gherkin-smell detector allowed you to ignore warnings and set thresholds much like the code smell detectors.

One thing that really bugs me is when I see variable names in the features. I.E. &quot;Given 10 admin_users exist&quot;.  I see this a lot in table headers too.  So maybe have a Gherkin-smell for code-isms creeping into the features. (An obvious exception to this would be if you are creating a tool for developers.)  I&#039;m sure I could think of some more but I think you&#039;ve outlined the big ones.</description>
		<content:encoded><![CDATA[<p>Hi Joe,<br />
I like the idea.  I think it would be best to phrase these as &#8220;feature smells&#8221;.  As you point out, these measures of feature quality can be very subjective.  Just like code smells these would be indicators that something might be wrong but doesn&#8217;t necessarily dictate that it is. With that in mind it would be nice if such a Gherkin-smell detector allowed you to ignore warnings and set thresholds much like the code smell detectors.</p>
<p>One thing that really bugs me is when I see variable names in the features. I.E. &#8220;Given 10 admin_users exist&#8221;.  I see this a lot in table headers too.  So maybe have a Gherkin-smell for code-isms creeping into the features. (An obvious exception to this would be if you are creating a tool for developers.)  I&#8217;m sure I could think of some more but I think you&#8217;ve outlined the big ones.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
