<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Todd Huss &#187; Testing</title>
	<atom:link href="http://gabrito.com/post/category/technical/testing/feed" rel="self" type="application/rss+xml" />
	<link>http://gabrito.com</link>
	<description>Anecdotes on Technology Leadership, Ruby, Java, Scala, Cloud Computing, Open-Source, SEO, and Design</description>
	<lastBuildDate>Thu, 08 Dec 2011 00:21:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Acceptance Testing non Ruby web applications with Cucumber</title>
		<link>http://gabrito.com/post/acceptance-testing-non-ruby-apps-with-cucumber</link>
		<comments>http://gabrito.com/post/acceptance-testing-non-ruby-apps-with-cucumber#comments</comments>
		<pubDate>Tue, 26 Oct 2010 21:49:18 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Continuous Integration]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Quality Assurance]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://gabrito.com/?p=318</guid>
		<description><![CDATA[If you&#8217;re looking for the sample Standalone Cucumber Test Suite to get you started testing non Ruby based applications with Cucumber, here&#8217;s the source: http://github.com/thuss/standalone-cucumber. Sometimes you inherit a non Ruby based web app written in PHP, Perl, Java, C#, &#8230; <a href="http://gabrito.com/post/acceptance-testing-non-ruby-apps-with-cucumber">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://gabrito.com/wp-content/uploads/2010/10/cucumber-logo.png"><img src="http://gabrito.com/wp-content/uploads/2010/10/cucumber-logo.png" alt="" title="cucumber-logo" width="300" height="128" class="alignleft size-full wp-image-321" /></a>If you&#8217;re looking for the sample <a href="http://github.com/thuss/standalone-cucumber">Standalone Cucumber Test Suite</a> to get you started testing non Ruby based applications with Cucumber, here&#8217;s the source: <a href="http://github.com/thuss/standalone-cucumber">http://github.com/thuss/standalone-cucumber</a>.</p>
<p>Sometimes you inherit a non Ruby based web app written in PHP, Perl, Java, C#, or Python and you want to create an automated functional/acceptance test suite to minimize the amount of manual QA you need to do.<span id="more-318"></span> <a href="http://seleniumhq.org/">Selenium</a> is a great tool for doing just that and at <a href="http://www.commonsensemedia.org">Common Sense Media</a> I created the <a href="http://github.com/thuss/selenium-continuous-integration-runner">Selenium Continuous Integration Runner</a> to make it easy to run <a href="http://seleniumhq.org/docs/04_selenese_commands.html">Selenese</a> based tests from your <a href="http://en.wikipedia.org/wiki/Continuous_integration">Continuous Integration</a> Server such as Hudson, Cruise Control, or Teamcity. That said, Selenese based tests leave something to be desired in terms of readability and maintainability. </p>
<p>The <a href="http://www.ruby-lang.org/en/">Ruby</a> camp is often at the forefront of great testing frameworks with <a href="http://github.com/aslakhellesoy">Aslak Hellesøy</a> often leading the charge with innovations like <a href="http://rspec.info/">RSpec</a> and <a href="http://cukes.info/">Cucumber</a>. I&#8217;d read and played around with Cucumber on Rails based apps and was loving the concept of english language specs that are actually executable as well. But when my friend and former colleague Chris Kimm mentioned that the testing group at his company was using it to test their Java application, I started to get excited as that was the problem I was about to try and tackle at <a href="http://www.volunteermatch.org">VolunteerMatch</a>.</p>
<p>However, getting the project structure in place required a little help from the <a href="http://groups.google.com/group/cukes">Cucumber mailing list</a> and in the hopes of saving others the time, I&#8217;ve published the <a href="http://github.com/thuss/standalone-cucumber">Standalone Cucumber Test Suite</a> to  Github. It&#8217;s simply a Cucumber project designed to test a non Ruby web application with a sample search.feature that uses Google search as the basis for the test. It uses <a href="http://github.com/jnicklas/capybara">Capybara</a> with the <a href="http://seleniumhq.org/docs/09_webdriver.html">Selenium Webdriver</a> on the backend but you can also switch it to use <a href="http://github.com/langalex/culerity">Culerity</a> or <a href="http://github.com/brynary/webrat">Webrat</a> if you don&#8217;t want it actually firing up a real browser to run the tests.  Fork it or download it to start testing your existing website with Cucumber!</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/acceptance-testing-non-ruby-apps-with-cucumber/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Selenium Continuous Integration Runner</title>
		<link>http://gabrito.com/post/selenium-continuous-integration-runner</link>
		<comments>http://gabrito.com/post/selenium-continuous-integration-runner#comments</comments>
		<pubDate>Sat, 10 Jan 2009 20:34:47 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Agile Development]]></category>
		<category><![CDATA[Continuous Integration]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Quality Assurance]]></category>
		<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://gabrito.com/?p=227</guid>
		<description><![CDATA[At Common Sense Media I wanted to get some functional testing up and running that didn&#8217;t require a lot of user training for the QA folks. I also wanted those tests to run in our Rightscale/Amazon EC2 hosted Hudson continuous &#8230; <a href="http://gabrito.com/post/selenium-continuous-integration-runner">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://seleniumhq.org/" target="_blank"><img src="http://gabrito.com/wp-content/uploads/2009/01/selenium1.png" alt="selenium" title="selenium" width="200" height="181" class="alignleft size-full wp-image-226" /></a> At <a href="http://www.commonsensemedia.org/">Common Sense Media</a> I wanted to get some functional testing up and running that didn&#8217;t require a lot of user training for the QA folks. I also wanted those tests to run in our <a href="http://www.rightscale.com/">Rightscale</a>/<a href="http://aws.amazon.com/ec2/">Amazon EC2</a> hosted <a href="https://hudson.dev.java.net/">Hudson continuous integration server</a>. As a result I&#8217;ve published the:</p>
<p><a href="http://github.com/thuss/selenium-continuous-integration-runner/tree/master"> Selenium Selenese Continuous Integration Runner</a> </p>
<p>on GitHub in the hopes that it will save other people time when trying to get their Selenese tests running from a continuous integration server. It&#8217;s very simple but one thing I battled with was that I had to patch the selenium JAR to get it to work with Firefox 3.0. It should work fine in any continuous integration server regardless if it&#8217;s <a href="https://hudson.dev.java.net/">Hudson</a>, <a href="http://studios.thoughtworks.com/cruise-continuous-integration">Cruise</a>, <a href="http://cruisecontrol.sourceforge.net/">Cruise Control</a>, <a href="http://www.atlassian.com/software/bamboo/">Bamboo</a>, etc.</p>
<p>The functional testing products I&#8217;ve used that drive a real browser include <a href="http://www.automatedqa.com/">Test Complete (commercial)</a>, <a href="http://seleniumhq.org/">Selenium</a>, and <a href="http://wtr.rubyforge.org/">Watir</a>. I think all 3 do a good job but one thing I like about Selenium is that it&#8217;s dirt simple to get a user productive with the Selenium IDE Firefox plugin. However, that benefit is also the most limiting factor of the <a href="http://seleniumhq.org/">Selenium IDE</a> which is that to be able to re-open tests in Selenium IDE you have to save them as Selenese (which is the most limited of the testing languages that Selenium supports). Still, I think Selenese is a reasonable choice for a lot of organizations that need a moderately sophisticated functional test suite.</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/selenium-continuous-integration-runner/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

