<?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>Vos Virtual Network &#187; RSpec</title>
	<atom:link href="http://vvn.net/wp/tag/rspec/feed/" rel="self" type="application/rss+xml" />
	<link>http://vvn.net/wp</link>
	<description>Jazz Like Code and Music For Life</description>
	<lastBuildDate>Fri, 04 Dec 2009 21:14:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Scripted GUI Testing with Ruby</title>
		<link>http://vvn.net/wp/2008/12/03/scripted-gui-testing-with-ruby/</link>
		<comments>http://vvn.net/wp/2008/12/03/scripted-gui-testing-with-ruby/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 18:02:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CompuScriptology]]></category>
		<category><![CDATA[Webdesignology]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[JRuby]]></category>
		<category><![CDATA[RSpec]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[test case]]></category>
		<category><![CDATA[test driven development]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://vvn.net/wp/?p=1071</guid>
		<description><![CDATA[Book Review: Scripted GUI Testing with Ruby, by Ian Dees, published by Pragmatic Programmers, 192 pages, Aug. 2008, ISBN: 978-1-9343561-8-0, US $34.95
All software should be rigorously tested, during the development process, and before it is released. Automated testing helps software developers, testing teams and quality control (QC) teams perform comprehensive and effective testing, and find [...]]]></description>
			<content:encoded><![CDATA[<p>Book Review: <a title="Scripted GUI Testing with Ruby" href="http://www.pragprog.com/titles/idgtr/scripted-gui-testing-with-ruby" target="_blank">Scripted GUI Testing with Ruby</a>, by Ian Dees, published by Pragmatic Programmers, 192 pages, Aug. 2008, ISBN: 978-1-9343561-8-0, US $34.95</p>
<p>All software should be rigorously tested, during the development process, and before it is released. Automated testing helps software developers, testing teams and quality control (QC) teams perform comprehensive and effective testing, and find bugs quickly. This new book from the Pragmatic Bookshelf (in the Facets of Ruby Series) documents and demonstrates how to use the Ruby scripting language to test user interfaces reliably and repeatedly. The book covers a wide scope of testing needs, including techniques for scripted testing of MS-Windows GUIs, Java platform GUIs (for Linux, Mac, Windows, and others), or for web applications.</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="Scripted GUI Testing with Ruby by Ian Dees" src="http://oreilly.com/catalog/covers/9781934356180_lrg.jpg" alt="Book cover - Scripted GUI Testing with Ruby" width="500" height="600" /><p class="wp-caption-text">Book cover - Scripted GUI Testing with Ruby</p></div>
<p>This book is a practical, quick moving tutorial based on real life, and real-world GUI applications.  Author Ian Dees says, &#8220;This is the book I wish I had four years ago. That&#8217;s when I faced the equally unpleasant task of fixing old, broken GUI tests and coaxing a rickety third-party toolkit into running new tests. I started looking for a how-to guide on GUI testing to help me down this road. Unfortunately, there were none.&#8221;  So Ian wrote the book he was wishing for.</p>
<p>Mr. Dees points out in the introduction (p.4) that many developers and software professionals have been suspicious or skeptical about test driven development (TDD). However, as he points out, &#8220;the important idea in TDD wasn&#8217;t the tests; it was the fact that writing the tests forces developers to think through how their code will behave.&#8221; After TDD, some people shifted their thought process, and began to speak of &#8220;behavior driven development&#8221; (BDD).  As it turns out, Ruby is a very powerful and expressive language for scripting tests, and <a title="RSpec Info" href="http://rspec.info/" target="_blank">RSpec</a> is a special Ruby tool in the Ruby coders toolbox. &#8220;RSpec was the first Ruby implementation of the ideas behind BDD.&#8221;</p>
<p>Many examples and test scripts are sprinkled throughout the book.</p>
<p><strong>Chapter 2</strong> covers some simple examples with MS-Windows, and <a title="Java Swing - GUI Toolkit" href="http://en.wikipedia.org/wiki/Swing_(Java)" target="_blank">Java Swing</a> (the original Sun Java GUI widgets) with <a title="JRuby" href="http://jruby.codehaus.org/" target="_blank">JRuby</a> and lays a nice foundation for the variety of tests that can be performed with Ruby.</p>
<p><strong>Chapter 3</strong> provides more in depth coverage of how to use RSpec, which is a Ruby gem (or library), that turns Ruby into a powerful (yet simple) test description language. RSpec notation uses words like &#8220;describe&#8221; &#8211; for describing the test, and &#8220;should&#8221; &#8211; a verb for describing how if the test passes or fails.</p>
<p><strong>Chapter 4</strong> provides details on how to simplify your testing, and <strong>Chapter 5</strong> provides many examples for special cases like testing passwords, wrangling documents, cutting and pasting, or searching and replacing  (all under Ruby script control) to exercise many different tests of your application.</p>
<p><strong>Chapter 6 and 7 </strong>provide more details about testing many kinds of apps, testing your tests, testing keystrokes, menus, mouse-clicks, and how to introduce randomness into the testing scenario.  <strong>Chapter 8</strong> delves into using <a title="FIT Testing" href="http://fit.c2.com/" target="_blank">FIT</a> (Ward Cunningham&#8217;s Framework for Integrated Testing). Fortunately, there is a <a title="ruby gem for FIT testing" href="http://fit.rubyforge.org/" target="_blank">Ruby gem for FIT testing</a> also, and Mr. Dees demonstrates how easy it is to utilize simple HTML tables to visualize your testing.</p>
<p><strong>Chapter 9</strong> moves into testing web applications by impersonating a browser, parsing the HTML, or driving the actual browser to perform specific behaviors. There are several great pointers and examples on how to use <a title="Selenium" href="http://selenium.seleniumhq.org/" target="_blank">Selenium</a>, and Selenium with RSpec, and example scenarios with AJAX also (going way beyond the simple HTML page load tests). Another great Ruby browser/web-site testing tool called <a title="Watir" href="http://en.wikipedia.org/wiki/Watir" target="_blank">Watir</a> (Web Application Testing in Ruby) is also described. This is a great chapter. The testing techniques in chapter 9 are worth the price of the book, so if you buy the book, and only read chapter 9, you will be receiving great value.</p>
<p>The book has several more chapters describing RSpec Story Runner, specialized testing on the MAC, and alternate GUI testing for the MS-Windows platform, with Win32::GuiTest. The book concludes with a bibliography, nice summary of resources, and helpful websites related to Ruby and software testing, and an index of contents in the book.</p>
<p><strong>Bonus:</strong> Rails Podcasts has <a title="MP3 download about Scripted GUI Testing with Ruby" href="http://podcast.rubyonrails.org/programs/1/episodes/scripted-gui-testing-with-ruby" target="_blank">an MP3 you can download</a> &#8211; an interview with author Ian Dees about <strong>Scripted GUI Testing with Ruby</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://vvn.net/wp/2008/12/03/scripted-gui-testing-with-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wooby Wuvers Woundup</title>
		<link>http://vvn.net/wp/2008/09/15/wooby-wuvers-woundup/</link>
		<comments>http://vvn.net/wp/2008/09/15/wooby-wuvers-woundup/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 02:43:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CompuScriptology]]></category>
		<category><![CDATA[FOSSology]]></category>
		<category><![CDATA[DHH]]></category>
		<category><![CDATA[FOSS]]></category>
		<category><![CDATA[IronRuby]]></category>
		<category><![CDATA[JRuby]]></category>
		<category><![CDATA[Obie Fernandez]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[RSpec]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Scooby Do]]></category>
		<category><![CDATA[Tim Bray]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://vvn.net/wp/?p=839</guid>
		<description><![CDATA[Scooby-Do&#8217;s way of saying &#8220;Ruby Lovers Roundup&#8221;&#8230;  A quick review of recent happenings (and writings) in the Ruby  development community&#8230; and what a fun round up it is! The ruby rock stars are pushing agile development in sunny Florida &#8230; and the sunny Java guy is resting from Java to talk about Ruby RSpec RESTing [...]]]></description>
			<content:encoded><![CDATA[<p>Scooby-Do&#8217;s way of saying &#8220;Ruby Lovers Roundup&#8221;&#8230;  A quick review of recent happenings (and writings) in the Ruby  development community&#8230; and what a fun round up it is! The ruby rock stars are pushing agile development in sunny Florida &#8230; and the sunny Java guy is resting from Java to talk about Ruby RSpec RESTing and testing..</p>
<p><strong>Tim Bray</strong> took a break from his other stuff to <a title="Testing REST" href="http://www.tbray.org/ongoing/When/200x/2008/09/10/Misusing-RSpec" target="_blank">run more RSpec tests</a>. Is he RESTing or testing, or both at the same time? He&#8217;s <a title="Testing REST" href="http://www.tbray.org/ongoing/When/200x/2008/09/10/Misusing-RSpec" target="_blank">misusing RSpec</a> (like <a title="Andy McKee - Guitar Drifting" href="http://vvn.net/wp/2008/04/18/andy-mckee-guitar-drifting/">Andy McKee abuses the guitar</a>) &#8212; and <a title="Jazz Innovation and Scripting" href="http://vvn.net/wp/2008/08/30/jazz-innovation-scripting/">that kind of innovation</a> could lead to a cool new invention &#8212; but only if he plays with it long enough to discover something new and interesting.</p>
<p><strong>Obie Fernandez</strong> is <a title="Paired Programming the Hashrocket Way" href="http://blog.obiefernandez.com/content/2008/08/the-hashrocket-way-pair-programming.html" target="_blank">pushing paired programming the HashRocket way</a>. Looks like they are having fun with it, and getting some good results. True believers in agile programming methods are already doing this, and everyone else is watching it closely, or closing their eyes, and trying to ignore it with one pragmatic eye still open.</p>
<p><strong>David H. Hansson</strong> was not really &#8220;thinking out loud&#8221;, but he recently twittered:</p>
<blockquote><p><span><a title="GetDropBox.com" href="http://getdropbox.com" target="_blank">getdropbox.com</a> is exactly what I need to complete the two computer conundrum. Great execution. Can&#8217;t wait to be able to pay for it. </span></p></blockquote>
<p>DHH also <a title="Rails 2.1.1" href="http://weblog.rubyonrails.org/2008/9/5/rails-2-1-1-lots-of-bug-fixes" target="_blank">released Rails 2.1.1</a> &#8212; with lots of little bug fixes.</p>
<p><strong>Dave Thomas</strong> is <a title="Procs in Ruby 1.9" href="http://pragdave.blogs.pragprog.com/pragdave/2008/09/fun-with-procs.html" target="_blank">having fun with procs in Ruby 1.9</a></p>
<p><strong>Michael Galpin</strong> talked about <a title="JRuby on Rails" href="http://www.ibm.com/developerworks/opensource/library/os-ad-prototype-jruby/index.html" target="_blank">rapid prototyping with Apache Derby and JRuby on Rails</a> over on IBM developerworks.</p>
<p>Did I mention that <a title="JRuby 1.1.4" href="http://docs.codehaus.org/display/JRUBY/2008/08/28/JRuby+1.1.4+Released" target="_blank">JRuby 1.1.4 was released</a>? &#8211;  with a 2-20x increase in speed for most features</p>
<p><strong>John Lam</strong> (the Microsoft IronRuby guy) <a title="John Lam talks at RubyFringe" href="http://www.infoq.com/presentations/john-lam-ruby-beyond-rails" target="_blank">helps you connect the dots and solve the really big problems</a> in this video captured at the last RubyFringe.</p>
<p><a title="Jazzing with JRuby" href="http://www.infoq.com/interviews/sieger-jruby-warbler-rails" target="_blank">Nick Sieger talks about jazzing things up with JRuby</a> in this InfoQ video interview.</p>
<p>&#8230; and from the <strong>awesome fresh news department</strong> &#8230; enjoy the <a title="Fresh Rails Documentation" href="http://www.railsinside.com/documentation/102-awesome-fresh-rails-documentation-to-enjoy.html" target="_blank">awesome fresh rails documentation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://vvn.net/wp/2008/09/15/wooby-wuvers-woundup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
