<?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 for Illiteration – Testing times in Software Testing</title>
	<atom:link href="http://www.software-testing.com.au/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.software-testing.com.au/blog</link>
	<description>Jared Quinert&#039;s notes on software testing and development, focusing on agile and context-driven approaches</description>
	<lastBuildDate>Mon, 05 Dec 2011 13:28:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Does cucumber suck? by Thinking and Testing with Executable Specs &#8211; Part 1 &#124; Stories from a Software Tester</title>
		<link>http://www.software-testing.com.au/blog/2010/08/31/does-cucumber-suck/comment-page-1/#comment-1805</link>
		<dc:creator>Thinking and Testing with Executable Specs &#8211; Part 1 &#124; Stories from a Software Tester</dc:creator>
		<pubDate>Mon, 05 Dec 2011 13:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.software-testing.com.au/blog/?p=538#comment-1805</guid>
		<description>[...] As a tester, when introducing yourself to this area of practice, you might read that You&#8217;re Cuking It Wrong or that You&#8217;re Cuking It Right. It still may not be clear which you are doing. You might read about being imperative versus declarative and wonder which is for you. (Can&#8217;t I do both?) You might even come to the conclusion that Cucumber sucks. [...]</description>
		<content:encoded><![CDATA[<p>[...] As a tester, when introducing yourself to this area of practice, you might read that You&#8217;re Cuking It Wrong or that You&#8217;re Cuking It Right. It still may not be clear which you are doing. You might read about being imperative versus declarative and wonder which is for you. (Can&#8217;t I do both?) You might even come to the conclusion that Cucumber sucks. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JMeter annoyances with If Controller – missing ; before statement by Matt</title>
		<link>http://www.software-testing.com.au/blog/2010/01/15/jmeter-annoyances-with-if-controller-missing-before-statement/comment-page-1/#comment-1799</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 01 Dec 2011 01:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://software-testing.com.au/blog/?p=425#comment-1799</guid>
		<description>I also had an issue with the IF Controller silently failing.  My issue turned out to be that the IF Controller and it&#039;s child were ignored if the only enabled child is a timer.  I added a dummy sampler to the controller, and it started working.</description>
		<content:encoded><![CDATA[<p>I also had an issue with the IF Controller silently failing.  My issue turned out to be that the IF Controller and it&#8217;s child were ignored if the only enabled child is a timer.  I added a dummy sampler to the controller, and it started working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automating Flash, AJAX, Popups and more using Ruby, Watir and Sikuli by David</title>
		<link>http://www.software-testing.com.au/blog/2010/08/16/automating-flash-ajax-popups-and-more-using-ruby-watir-and-sikuli/comment-page-1/#comment-1795</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 19 Nov 2011 00:11:54 +0000</pubDate>
		<guid isPermaLink="false">/blog/?p=480#comment-1795</guid>
		<description>Just wanted to mention for those looking to have a test framework to automate something like 

sikuli+web driver (or just watir)+mysqldb+jython (or jruby, or other platform)

one option to look at is www.robotframework.org. That framework is Jython/Python based, but supports remote library interface to work with test libraries (i.e. modules) built in other platforms. And there are already some prebuilt libraries (in varying stages of maturity) for it that are useful:

watir, Selenium, Selenium2, Sikuli, database access libraries (in Python or Java/Jython)

I also built wrapper library for Sikuli to be used via command line, or integrated for use with Robot Framework, or other tools (over XML-RPC) or to be called from Java as an API:

http://code.google.com/p/simplesikuli/</description>
		<content:encoded><![CDATA[<p>Just wanted to mention for those looking to have a test framework to automate something like </p>
<p>sikuli+web driver (or just watir)+mysqldb+jython (or jruby, or other platform)</p>
<p>one option to look at is <a href="http://www.robotframework.org" rel="nofollow">http://www.robotframework.org</a>. That framework is Jython/Python based, but supports remote library interface to work with test libraries (i.e. modules) built in other platforms. And there are already some prebuilt libraries (in varying stages of maturity) for it that are useful:</p>
<p>watir, Selenium, Selenium2, Sikuli, database access libraries (in Python or Java/Jython)</p>
<p>I also built wrapper library for Sikuli to be used via command line, or integrated for use with Robot Framework, or other tools (over XML-RPC) or to be called from Java as an API:</p>
<p><a href="http://code.google.com/p/simplesikuli/" rel="nofollow">http://code.google.com/p/simplesikuli/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automating Flash, AJAX, Popups and more using Ruby, Watir and Sikuli by Chuckvdl</title>
		<link>http://www.software-testing.com.au/blog/2010/08/16/automating-flash-ajax-popups-and-more-using-ruby-watir-and-sikuli/comment-page-1/#comment-1748</link>
		<dc:creator>Chuckvdl</dc:creator>
		<pubDate>Fri, 21 Oct 2011 16:12:17 +0000</pubDate>
		<guid isPermaLink="false">/blog/?p=480#comment-1748</guid>
		<description>FYI: when installing this on 10/21/11  I ran into an issue getting watir-webdriver installed due to a dependency of selenium-webdriver on v 1.0.9 of FFI.. (it pulled in 1.0.10 which was apparently too new).  I had to use the -v switch on jgem install to manually pull down v1.0.9 of FFI first, and then was able to install the watir-webdriver stuff.</description>
		<content:encoded><![CDATA[<p>FYI: when installing this on 10/21/11  I ran into an issue getting watir-webdriver installed due to a dependency of selenium-webdriver on v 1.0.9 of FFI.. (it pulled in 1.0.10 which was apparently too new).  I had to use the -v switch on jgem install to manually pull down v1.0.9 of FFI first, and then was able to install the watir-webdriver stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Stop Firefox asking where to save downloads with Watir-Webdriver by changing profile by Jared</title>
		<link>http://www.software-testing.com.au/blog/2010/09/27/stop-firefox-asking-where-to-save-downloads-with-watir-webdriver-by-changing-profile/comment-page-1/#comment-1679</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Tue, 16 Aug 2011 12:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.software-testing.com.au/blog/?p=547#comment-1679</guid>
		<description>Nice, thanks for the tip.</description>
		<content:encoded><![CDATA[<p>Nice, thanks for the tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Stop Firefox asking where to save downloads with Watir-Webdriver by changing profile by Alister Scott</title>
		<link>http://www.software-testing.com.au/blog/2010/09/27/stop-firefox-asking-where-to-save-downloads-with-watir-webdriver-by-changing-profile/comment-page-1/#comment-1678</link>
		<dc:creator>Alister Scott</dc:creator>
		<pubDate>Mon, 15 Aug 2011 13:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.software-testing.com.au/blog/?p=547#comment-1678</guid>
		<description>What is even better is that you can do this programatically using Watir-WebDriver: http://watirwebdriver.com/browser-downloads/</description>
		<content:encoded><![CDATA[<p>What is even better is that you can do this programatically using Watir-WebDriver: <a href="http://watirwebdriver.com/browser-downloads/" rel="nofollow">http://watirwebdriver.com/browser-downloads/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Does cucumber suck? by Johnny Rocket</title>
		<link>http://www.software-testing.com.au/blog/2010/08/31/does-cucumber-suck/comment-page-1/#comment-1533</link>
		<dc:creator>Johnny Rocket</dc:creator>
		<pubDate>Thu, 28 Apr 2011 04:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.software-testing.com.au/blog/?p=538#comment-1533</guid>
		<description>We&#039;ve been using Cucumber for about 9 months at my work.  We used it to bang out lots and lots of GUI based tests in a very short period of time.  So we wound up putting lots of detail in the tests.  They basically turned out to be fancy &quot;recorded&quot; scripts, with things like object ids, link text, test data, etc, etc, right in the feature files.  This is of course, entirely our fault, but to Jared&#039;s point, it is the model promoted by the samples.  Even our Cucumber expert said &quot;That&#039;s what makes it wonderful.  Anybody can read and write it!&quot;  Apparently its maintenance be damned and full steam ahead.

In our efforts to refactor we&#039;ve discovered several things which are bringing our test development to a grinding halt.

- Adoption:  As Lisa states, we can&#039;t get anybody outside the test team to write a feature file.  They have other things to do not write our tests for us.  Heck, we can&#039;t even get 1/2 our test team to write them!

- Running Multiple Tests at Once:  We&#039;ve got lots of tests now.  It can take up to 5-6 hours to run all our tests.  So we&#039;ve got the need for running multiple tests in parallel.  And we don&#039;t need the simple &quot;run the same test in multiple browsers&quot;.  We need real concurrency.  If I have 10 tests tagged with &quot;@awesometests&quot; we&#039;d like to see those tests run at once.  We can supply the hardware necessary for that, but Cucumber provides no manner for running multiple tests at the same time.  So if we want to use Cucumber to do this we&#039;ll have to tear it apart, alter it, and put it back together.

- Sharing Data:  Very early we ran into the fact that we need to share data across step definitions.  Our in-house Cucumber and Ruby expert suggested that we use global variables, which &quot;should work fine, because all step defs are loaded in to memory and aren&#039;t class instances, so they&#039;ll all see the variables&quot;.  Which of course made us all cringe, as this a recipe for lost data, data changed by code that shouldn&#039;t be changing it, one test changing another test&#039;s data... the list goes on and on.  Throw concurrency into the mix and the global var theory gets completely blown away.

- Tool support:  The only IDE we&#039;ve found that does a decent job of interpreting feature files is IntelliJ... at $600 a pop.  A bit hefty for an open source tool.

So now we&#039;ve got lots and lots of tests that have big time data problems, take a good deal of effort to refactor, and take waaaayy to long to run to be useful in a fast-paced agile environment.  Some if it is our fault, some of it isn&#039;t.  but hey, we&#039;ve got lots of tests!  Yay!  

Do we dare attempt to tear Cucumber apart and rebuild it to suit our needs?  I don&#039;t know....</description>
		<content:encoded><![CDATA[<p>We&#8217;ve been using Cucumber for about 9 months at my work.  We used it to bang out lots and lots of GUI based tests in a very short period of time.  So we wound up putting lots of detail in the tests.  They basically turned out to be fancy &#8220;recorded&#8221; scripts, with things like object ids, link text, test data, etc, etc, right in the feature files.  This is of course, entirely our fault, but to Jared&#8217;s point, it is the model promoted by the samples.  Even our Cucumber expert said &#8220;That&#8217;s what makes it wonderful.  Anybody can read and write it!&#8221;  Apparently its maintenance be damned and full steam ahead.</p>
<p>In our efforts to refactor we&#8217;ve discovered several things which are bringing our test development to a grinding halt.</p>
<p>- Adoption:  As Lisa states, we can&#8217;t get anybody outside the test team to write a feature file.  They have other things to do not write our tests for us.  Heck, we can&#8217;t even get 1/2 our test team to write them!</p>
<p>- Running Multiple Tests at Once:  We&#8217;ve got lots of tests now.  It can take up to 5-6 hours to run all our tests.  So we&#8217;ve got the need for running multiple tests in parallel.  And we don&#8217;t need the simple &#8220;run the same test in multiple browsers&#8221;.  We need real concurrency.  If I have 10 tests tagged with &#8220;@awesometests&#8221; we&#8217;d like to see those tests run at once.  We can supply the hardware necessary for that, but Cucumber provides no manner for running multiple tests at the same time.  So if we want to use Cucumber to do this we&#8217;ll have to tear it apart, alter it, and put it back together.</p>
<p>- Sharing Data:  Very early we ran into the fact that we need to share data across step definitions.  Our in-house Cucumber and Ruby expert suggested that we use global variables, which &#8220;should work fine, because all step defs are loaded in to memory and aren&#8217;t class instances, so they&#8217;ll all see the variables&#8221;.  Which of course made us all cringe, as this a recipe for lost data, data changed by code that shouldn&#8217;t be changing it, one test changing another test&#8217;s data&#8230; the list goes on and on.  Throw concurrency into the mix and the global var theory gets completely blown away.</p>
<p>- Tool support:  The only IDE we&#8217;ve found that does a decent job of interpreting feature files is IntelliJ&#8230; at $600 a pop.  A bit hefty for an open source tool.</p>
<p>So now we&#8217;ve got lots and lots of tests that have big time data problems, take a good deal of effort to refactor, and take waaaayy to long to run to be useful in a fast-paced agile environment.  Some if it is our fault, some of it isn&#8217;t.  but hey, we&#8217;ve got lots of tests!  Yay!  </p>
<p>Do we dare attempt to tear Cucumber apart and rebuild it to suit our needs?  I don&#8217;t know&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Does cucumber suck? by Jared</title>
		<link>http://www.software-testing.com.au/blog/2010/08/31/does-cucumber-suck/comment-page-1/#comment-1532</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Sun, 03 Apr 2011 11:39:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.software-testing.com.au/blog/?p=538#comment-1532</guid>
		<description>That&#039;s basically one of my points. Certainly, discussing test ideas and acceptance criteria prior to developing the story will in most cases be helpful.  However, limiting that discussion to behavioural tests is a bit narrow.  Specification by example has its own issues.  Regardless, you don&#039;t need cucumber to force the interaction you describe.

Another point relevant to your comment is that I feel the extra layers in the cucumber automation framework (as well as the idea that everything should be shoehorned into a behavioural testing framework) really aren&#039;t helpful.  Discuss the tests, take what&#039;s important, implement it in the most efficient way you can. Based on my experience, using cucumber as a functional test framework seems a pretty inefficient use of my time.

By all means, put your behavioural tests in there. Do lots of other kinds of tests too though.  While Dan North might think &quot;It&#039;s all behaviour&quot;, but just because everything *can* be expressed as behaviour, doesn&#039;t mean it&#039;s efficient or effective to do so.</description>
		<content:encoded><![CDATA[<p>That&#8217;s basically one of my points. Certainly, discussing test ideas and acceptance criteria prior to developing the story will in most cases be helpful.  However, limiting that discussion to behavioural tests is a bit narrow.  Specification by example has its own issues.  Regardless, you don&#8217;t need cucumber to force the interaction you describe.</p>
<p>Another point relevant to your comment is that I feel the extra layers in the cucumber automation framework (as well as the idea that everything should be shoehorned into a behavioural testing framework) really aren&#8217;t helpful.  Discuss the tests, take what&#8217;s important, implement it in the most efficient way you can. Based on my experience, using cucumber as a functional test framework seems a pretty inefficient use of my time.</p>
<p>By all means, put your behavioural tests in there. Do lots of other kinds of tests too though.  While Dan North might think &#8220;It&#8217;s all behaviour&#8221;, but just because everything *can* be expressed as behaviour, doesn&#8217;t mean it&#8217;s efficient or effective to do so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Does cucumber suck? by Mark Harris</title>
		<link>http://www.software-testing.com.au/blog/2010/08/31/does-cucumber-suck/comment-page-1/#comment-1531</link>
		<dc:creator>Mark Harris</dc:creator>
		<pubDate>Fri, 18 Mar 2011 21:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.software-testing.com.au/blog/?p=538#comment-1531</guid>
		<description>We are starting to use Cucumber for testing an agent portal implementation.  With contractors and FTE&#039;s mixed doing the specs and coding, and legacy code that we need to interact with, in many cases, the feature files are the best specification of how the product works for us.

When doing our initial proof-of-concept for this effort, we found that the process that the QA Analyst goes through with BA and dev to create the scenarios and steps at the beginning of the iteration forces the team to think through the broader user story.  Without forcing that interaction, it&#039;s all to easy to get back into the mold of test at the end of the iteration, and agile devolves into mini-waterfall.

In this case, then, *creating* the feature files is far more valuable than the feature files themselves. And you end up with a regression suite as a side-effect.</description>
		<content:encoded><![CDATA[<p>We are starting to use Cucumber for testing an agent portal implementation.  With contractors and FTE&#8217;s mixed doing the specs and coding, and legacy code that we need to interact with, in many cases, the feature files are the best specification of how the product works for us.</p>
<p>When doing our initial proof-of-concept for this effort, we found that the process that the QA Analyst goes through with BA and dev to create the scenarios and steps at the beginning of the iteration forces the team to think through the broader user story.  Without forcing that interaction, it&#8217;s all to easy to get back into the mold of test at the end of the iteration, and agile devolves into mini-waterfall.</p>
<p>In this case, then, *creating* the feature files is far more valuable than the feature files themselves. And you end up with a regression suite as a side-effect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automating Flash, AJAX, Popups and more using Ruby, Watir and Sikuli by Jared</title>
		<link>http://www.software-testing.com.au/blog/2010/08/16/automating-flash-ajax-popups-and-more-using-ruby-watir-and-sikuli/comment-page-1/#comment-1491</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Tue, 15 Feb 2011 01:55:07 +0000</pubDate>
		<guid isPermaLink="false">/blog/?p=480#comment-1491</guid>
		<description>I notice that this version in French beat me to the Sikuli/JRuby punch (but not the Watir combination) -

http://algorithmique.net/Snippets/2010/05/26/utiliser-sikuli-avec-jruby.html#

Provides some more examples anyway, particularly using the script part of the library to start a browser (and the fact that it&#039;s on the mac).</description>
		<content:encoded><![CDATA[<p>I notice that this version in French beat me to the Sikuli/JRuby punch (but not the Watir combination) -</p>
<p><a href="http://algorithmique.net/Snippets/2010/05/26/utiliser-sikuli-avec-jruby.html#" rel="nofollow">http://algorithmique.net/Snippets/2010/05/26/utiliser-sikuli-avec-jruby.html#</a></p>
<p>Provides some more examples anyway, particularly using the script part of the library to start a browser (and the fact that it&#8217;s on the mac).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

