January 25, 2012
It’s the end of January and believe it or not, cucumbers are now in season! If you think that your project is in a bit of a pickle, Cucumber can help.
Your customers want rock-solid, bug-free software that does exactly what they expect it to do. Yet they can’t always articulate their ideas clearly enough for you to turn them into code. The Cucumber Book dives straight into the core of the problem: communication between people. Now in print and shipping from pragprog.com/book/hwcuc.
And we’re pleased to announce that Scripted GUI Testing with Ruby is now updated for RSpec 2.x and Cucumber 1.x versions. It’s a free update if you’ve already bought the ebook, otherwise head on over to pragprog.com/book/idgtr and grab yourself a copy.
The Cucumber Book: Behaviour-Driven Development for Testers and Developers in print
Matt Wynne and Aslak Hellesøy show you how to express your customers’ wild ideas as a set of clear, executable specifications that everyone on the team can read. You’ll learn how to feed those examples into Cucumber and let it guide your development. You’ll build just the right code to keep your customers happy, and not a line more. Although it was born in the Ruby community, you can use Cucumber to test almost any system, from a simple shell script or Perl script, to web applications written in PHP, Java, or any platform.
In Part 1, you’ll get started by using the core features of Cucumber and working with Cucumber’s Gherkin DSL to describe—in plain language—the behavior your customers want from the system. Then you’ll write Ruby code that interprets those plain-language specifications and checks them against your application. If you’re new to Cucumber, this part of the book will teach you everything you need to know to get started.
In Part 2, you’ll consolidate the knowledge you’ve gained with a worked example, where you’ll learn more advanced Cucumber techniques. You’ll also learn how to test asynchronous systems and systems that use a database.
In Part 3, you’ll find a selection of recipes for some of the most difficult and commonly seen situations the authors have helped teams solve. With these patterns and techniques, you’ll learn how to test Ajax-heavy web applications with Capybara and Selenium, REST web services, Ruby on Rails applications, command-line applications, legacy applications, and more.
Written by the creator of Cucumber and one of its most experienced users and contributors, The Cucumber Book is an authoritative guide that will give you and your team all the knowledge you need to start using Cucumber with confidence.
Now available in print and shipping from pragprog.com/book/hwcuc.
Scripted GUI Testing with Ruby: Updated for RSpec 2.x and Cucumber 1.x versions.
We’re releasing an updated eBook of Scripted GUI Testing With Ruby, by Ian Dees. This book shows you how to put together a GUI automation project from the ground up using RSpec and Cucumber. The new revision refreshes the RSpec examples for version 2.×. It also contains an updated section on narrative-style tests, based on the latest Cucumber framework. Ian has tweaked code samples throughout the book for compatibility with Ruby 1.8.7, Ruby 1.9.2, or JRuby 1.6.5, based on what the underlying libraries support.
The book uses examples from Windows, OS X, and cross-platform Java desktop programs as well as Web applications. You’ll develop test scripts in Ruby; you don’t need to be a Ruby expert, but basic comfort with the language will be helpful.
eBook updates for existing eBook owners are free.
Now available in ebook (PDF, epub, mobi) formats from pragprog.com/book/idgtr.
Don’t Get Left Out
Are your friends jealous that you get these spiffy email newsletters and they don’t? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.
Are you following us on Twitter and/or Facebook? Here’s where you can find us and keep up with the latest news and commentary:
- The Developer’s Code: What Real Programmers Do in print
- Rails Recipes: Rails 3 Edition in print
- Technical Blogging: Turn Your Expertise into a Remarkable Online Presence in print
- Programming Your Home in print
Thanks for your continued support,
Andy & Dave
Books • eBooks • Screencasts • PragPub Magazine