<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Thomas Sundberg</title>
	<atom:link href="http://thomassundberg.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://thomassundberg.wordpress.com</link>
	<description>A software developers notes and thoughts.</description>
	<lastBuildDate>Sun, 09 Jun 2013 19:29:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Building the model by Thomas Sundberg</title>
		<link>http://thomassundberg.wordpress.com/2012/11/01/building-the-model/#comment-1396</link>
		<dc:creator><![CDATA[Thomas Sundberg]]></dc:creator>
		<pubDate>Sun, 09 Jun 2013 19:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://thomassundberg.wordpress.com/?p=1301#comment-1396</guid>
		<description><![CDATA[Hi!

I obviously made a mistake when I wanted to build the example in small steps. I had prepared an intermediate step that actually wasn&#039;t compiled with the blog post. The other steps has been compiled when I built the blog post. I forgot to update this intermediate step when I updated to a newer version of Cucumber.

The import should be 

cucumber.api.java.en.Given;

etc. as it is later in the text. 

I am glad that you spotted the error.

Thanks!
Thomas]]></description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I obviously made a mistake when I wanted to build the example in small steps. I had prepared an intermediate step that actually wasn&#8217;t compiled with the blog post. The other steps has been compiled when I built the blog post. I forgot to update this intermediate step when I updated to a newer version of Cucumber.</p>
<p>The import should be </p>
<p>cucumber.api.java.en.Given;</p>
<p>etc. as it is later in the text. </p>
<p>I am glad that you spotted the error.</p>
<p>Thanks!<br />
Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Building the model by Jorge</title>
		<link>http://thomassundberg.wordpress.com/2012/11/01/building-the-model/#comment-1389</link>
		<dc:creator><![CDATA[Jorge]]></dc:creator>
		<pubDate>Wed, 05 Jun 2013 14:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://thomassundberg.wordpress.com/?p=1301#comment-1389</guid>
		<description><![CDATA[Hello Thomas:

I have tried to execute the example you propose in your post, but there seems to be an error.
I have created the files included in this post, but when I execute
$ mvn test
I get the following error:
[ERROR] /home/my_name/dev/tests/cucumber-primer/model/src/test/java/se/waymark/rentit/steps/RentStepdefs.java:[6,29] error: package cucumber.annotation.en does not exist

In your pom.xml you use cucumber-java 1.1.1, as it says:
        cucumber-java
        1.1.1
But  version 1.1.1 of cucumber-java des not contain cucumber.annotation.en

The missing package exists in cucumber-java 1.0.1 (according to http://grepcode.com/file/repo1.maven.org/maven2/info.cukes/cucumber-java/1.0.1/cucumber/annotation/en/Given.java?av=f)

So I think you mixed two versions of the example in the post, including a pom.xml that is newer than the .java. I have tried to use 1.0.1, 1.0.2, 1.0.7, ... of the dependencies, but then a different error appears.
Could you please correct me if I&#039;m wrong or specify the right version of modules?

Thank you.]]></description>
		<content:encoded><![CDATA[<p>Hello Thomas:</p>
<p>I have tried to execute the example you propose in your post, but there seems to be an error.<br />
I have created the files included in this post, but when I execute<br />
$ mvn test<br />
I get the following error:<br />
[ERROR] /home/my_name/dev/tests/cucumber-primer/model/src/test/java/se/waymark/rentit/steps/RentStepdefs.java:[6,29] error: package cucumber.annotation.en does not exist</p>
<p>In your pom.xml you use cucumber-java 1.1.1, as it says:<br />
        cucumber-java<br />
        1.1.1<br />
But  version 1.1.1 of cucumber-java des not contain cucumber.annotation.en</p>
<p>The missing package exists in cucumber-java 1.0.1 (according to <a href="http://grepcode.com/file/repo1.maven.org/maven2/info.cukes/cucumber-java/1.0.1/cucumber/annotation/en/Given.java?av=f" rel="nofollow">http://grepcode.com/file/repo1.maven.org/maven2/info.cukes/cucumber-java/1.0.1/cucumber/annotation/en/Given.java?av=f</a>)</p>
<p>So I think you mixed two versions of the example in the post, including a pom.xml that is newer than the .java. I have tried to use 1.0.1, 1.0.2, 1.0.7, &#8230; of the dependencies, but then a different error appears.<br />
Could you please correct me if I&#8217;m wrong or specify the right version of modules?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Performing an action when a test fails by Thomas Sundberg</title>
		<link>http://thomassundberg.wordpress.com/2012/07/08/performing-an-action-when-a-test-fails/#comment-1379</link>
		<dc:creator><![CDATA[Thomas Sundberg]]></dc:creator>
		<pubDate>Thu, 30 May 2013 04:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://thomassundberg.wordpress.com/?p=868#comment-1379</guid>
		<description><![CDATA[Hi!

TestWatcher is abstract, at least in JUnit 4.10. Implement your own rule that extends TestWatcher instead. I implement a simple example in the class &lt;code&gt;SimpleOnFailed&lt;/code&gt;.

HTH
Thomas]]></description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>TestWatcher is abstract, at least in JUnit 4.10. Implement your own rule that extends TestWatcher instead. I implement a simple example in the class <code>SimpleOnFailed</code>.</p>
<p>HTH<br />
Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Performing an action when a test fails by MPP</title>
		<link>http://thomassundberg.wordpress.com/2012/07/08/performing-an-action-when-a-test-fails/#comment-1378</link>
		<dc:creator><![CDATA[MPP]]></dc:creator>
		<pubDate>Wed, 29 May 2013 20:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://thomassundberg.wordpress.com/?p=868#comment-1378</guid>
		<description><![CDATA[If I do something like this:

    @Rule
        public TestWatcher testWatchThis = new TestWatcher() {
            @Override
            protected void failed(Throwable e, Description description) {
                LOG.error(&quot;Only executed when a test fails&quot;);
            }
        };

within a test class, I always get an Exception complaining that &quot;Field testWatchThis must implement MethodRule&quot;.

What&#039;s the deal with that?  I&#039;m using JUnit v4.11.]]></description>
		<content:encoded><![CDATA[<p>If I do something like this:</p>
<p>    @Rule<br />
        public TestWatcher testWatchThis = new TestWatcher() {<br />
            @Override<br />
            protected void failed(Throwable e, Description description) {<br />
                LOG.error(&#8220;Only executed when a test fails&#8221;);<br />
            }<br />
        };</p>
<p>within a test class, I always get an Exception complaining that &#8220;Field testWatchThis must implement MethodRule&#8221;.</p>
<p>What&#8217;s the deal with that?  I&#8217;m using JUnit v4.11.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium WebDriver &#8211; the simplest possible start? by Thomas Sundberg</title>
		<link>http://thomassundberg.wordpress.com/2012/10/29/selenium-webdriver-the-simplest-possible-start/#comment-1377</link>
		<dc:creator><![CDATA[Thomas Sundberg]]></dc:creator>
		<pubDate>Wed, 29 May 2013 04:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://thomassundberg.wordpress.com/?p=1290#comment-1377</guid>
		<description><![CDATA[Hi!

The folder structure is critical. The reason is that I use Maven to build and execute the project.
Maven is about convention over configuration. The convention is that all source code should live in the directory &lt;code&gt;src&lt;/code&gt;. The production code should live in &lt;code&gt;main&lt;/code&gt; and test code should live in &lt;code&gt;test&lt;/code&gt;. Any Java code should live in &lt;code&gt;java&lt;/code&gt;. If you organize you Java code in packages, then will the Java directory be the package root and you need to add the proper directories in the Java directory to reflect your packages.

HTH
Thomas]]></description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>The folder structure is critical. The reason is that I use Maven to build and execute the project.<br />
Maven is about convention over configuration. The convention is that all source code should live in the directory <code>src</code>. The production code should live in <code>main</code> and test code should live in <code>test</code>. Any Java code should live in <code>java</code>. If you organize you Java code in packages, then will the Java directory be the package root and you need to add the proper directories in the Java directory to reflect your packages.</p>
<p>HTH<br />
Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium WebDriver &#8211; the simplest possible start? by Rod</title>
		<link>http://thomassundberg.wordpress.com/2012/10/29/selenium-webdriver-the-simplest-possible-start/#comment-1376</link>
		<dc:creator><![CDATA[Rod]]></dc:creator>
		<pubDate>Tue, 28 May 2013 21:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://thomassundberg.wordpress.com/?p=1290#comment-1376</guid>
		<description><![CDATA[I am getting a problem though. Once I rename any folders in &quot;src/test/java/AskTest.java&quot;, test doesn&#039;t get run. I mean, if I name &quot;src/tests/java/AskTest.java&quot;, it won&#039;t run. Then I rename &quot;src/test/asdf/AskTest.java&quot;, it won&#039;t run either. 
So is it critical to have exact wording for &quot;test&quot; and &quot;java&quot; folder? How come?]]></description>
		<content:encoded><![CDATA[<p>I am getting a problem though. Once I rename any folders in &#8220;src/test/java/AskTest.java&#8221;, test doesn&#8217;t get run. I mean, if I name &#8220;src/tests/java/AskTest.java&#8221;, it won&#8217;t run. Then I rename &#8220;src/test/asdf/AskTest.java&#8221;, it won&#8217;t run either.<br />
So is it critical to have exact wording for &#8220;test&#8221; and &#8220;java&#8221; folder? How come?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Test coverage in a multi module Maven project by Thomas Sundberg</title>
		<link>http://thomassundberg.wordpress.com/2012/02/18/test-coverage-in-a-multi-module-maven-project/#comment-1374</link>
		<dc:creator><![CDATA[Thomas Sundberg]]></dc:creator>
		<pubDate>Mon, 27 May 2013 20:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://thomassundberg.wordpress.com/?p=708#comment-1374</guid>
		<description><![CDATA[Hi!

I would probably implement it with the ant plugin today if I did it again.

I am glad if it helped you!
Thomas]]></description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I would probably implement it with the ant plugin today if I did it again.</p>
<p>I am glad if it helped you!<br />
Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Test coverage in a multi module Maven project by worldpython</title>
		<link>http://thomassundberg.wordpress.com/2012/02/18/test-coverage-in-a-multi-module-maven-project/#comment-1373</link>
		<dc:creator><![CDATA[worldpython]]></dc:creator>
		<pubDate>Mon, 27 May 2013 14:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://thomassundberg.wordpress.com/?p=708#comment-1373</guid>
		<description><![CDATA[Thanks A lot Thomas, it helped me a lot .. I implement your solution with maven-antrun-plugin http://mebada.blogspot.com/2013/05/how-to-use-maven-with-cobertura-code.html it may help]]></description>
		<content:encoded><![CDATA[<p>Thanks A lot Thomas, it helped me a lot .. I implement your solution with maven-antrun-plugin <a href="http://mebada.blogspot.com/2013/05/how-to-use-maven-with-cobertura-code.html" rel="nofollow">http://mebada.blogspot.com/2013/05/how-to-use-maven-with-cobertura-code.html</a> it may help</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium WebDriver &#8211; the simplest possible start? by Thomas Sundberg</title>
		<link>http://thomassundberg.wordpress.com/2012/10/29/selenium-webdriver-the-simplest-possible-start/#comment-1372</link>
		<dc:creator><![CDATA[Thomas Sundberg]]></dc:creator>
		<pubDate>Sun, 26 May 2013 20:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://thomassundberg.wordpress.com/?p=1290#comment-1372</guid>
		<description><![CDATA[I am glad you liked it.

Thomas]]></description>
		<content:encoded><![CDATA[<p>I am glad you liked it.</p>
<p>Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selenium WebDriver &#8211; the simplest possible start? by Anonymous</title>
		<link>http://thomassundberg.wordpress.com/2012/10/29/selenium-webdriver-the-simplest-possible-start/#comment-1365</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Wed, 22 May 2013 22:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://thomassundberg.wordpress.com/?p=1290#comment-1365</guid>
		<description><![CDATA[Thank you. It was brief, simple and to the point.]]></description>
		<content:encoded><![CDATA[<p>Thank you. It was brief, simple and to the point.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
