My Account Log in

2 options

The cucumber book behaviour-driven development for testers and developers / Matt Wynne, Aslak Hellesoy, and Steve Tooke.

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Wynne, Matt, author.
Tooke, Steve, author.
Hellesøy, Aslak, author.
Series:
Pragmatic programmers.
The pragmatic programmers
Language:
English
Subjects (All):
Computer software--Development.
Computer software.
Physical Description:
1 online resource (316 pages) : illustrations
Edition:
Second edition.
Place of Publication:
Raleigh, North Carolina : The Pragmatic Bookself, 2017.
System Details:
text file
Summary:
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. You need Cucumber: a testing, communication, and requirements tool-all rolled into one. All the code in this book is updated for Cucumber 2.4, Rails 5, and RSpec 3.5.
Contents:
Cover
Table of Contents
Foreword
Acknowledgments
Preface
Who This Book Is For
Why You Should Listen to Us
How This Book Is Organized
What Is Not in This Book
Running the Code Examples
Getting Help
Part I-Cucumber Fundamentals
1. Why Cucumber?
Automated Acceptance Tests
Behaviour-Driven Development
Living Documentation
How Cucumber Works
What We Just Learned
2. First Taste
Understanding Our Goal
Creating a Feature
Creating Step Definitions
Implementing Our First Step Definition
Running Our Program
Changing Formatters
Adding an Assertion
Making It Pass
3. Gherkin Basics
What's Gherkin For?
Format and Syntax
Feature
Scenario
Comments
Spoken Languages
4. Step Definitions: From the Outside
Steps and Step Definitions
Capturing Arguments
Multiple Captures
Flexibility
Returning Results
5. Expressive Scenarios
Background
Data Tables
Scenario Outline
Nesting Steps
Doc Strings
Staying Organized with Tags and Subfolders
6. When Cucumbers Go Bad
Feeling the Pain
Working Together
Caring for Your Tests
Stop the Line and Defect Prevention
Part II-A Worked Example
7. Step Definitions: On the Inside
Sketching Out the Domain Model
Removing Duplication with Transforms
Adding Custom Helper Methods to the World
Organizing the Code
8. Support Code
Fixing the Bug
Bootstrapping the User Interface
Making the Switch
Using Hooks
Building the User Interface
9. Dealing with Message Queues and Asynchronous Components
Our New Asynchronous Architecture
How to Synchronize
Implementing the New Architecture.
Fixing the Flickering Scenario
10. Databases
Introducing ActiveRecord
Refactoring to Use a Database
Reading and Writing to the Database
Cleaning the Database with Transactions
Cleaning the Database with Truncation
Part III-Cucumber Applied
11. The Cucumber Command-Line Interface
Cucumber's Command-Line Options
Running a Subset of Scenarios
Changing Cucumber's Output
Specifying the Location of Step Definitions
Managing Your Work in Progress (WIP)
Using Profiles
Running Cucumber from Rake
Running Cucumber in Continuous Integration
12. Testing a REST Web Service
In-Process Testing of Rack-Based REST APIs
Out-of-Process Testing of Any REST API
13. Adding Tests to a Legacy Application
Characterization Tests
Squashing Bugs
Adding New Behavior
Code Coverage
14. Bootstrapping Rails
Running the Generators
Creating a User
Posting a Message
Associating a Message with a User
Creating a Controller by Hand
Implementing the View
15. Using Capybara to Test Ajax Web Applications
Implementing a Simple Search Without Ajax
Searching with Ajax
The Capybara API
Taking Screenshots
16. Testing Command-Line Applications with Aruba
Simple Interfaces
Our First Aruba Feature
Working with Files and Executables
Interacting with User Input
Using Aruba's Ruby DSL
A1. Using Cucumber with Other Platforms
A2. Installing Cucumber
Installing Ruby
HTTP Proxy Settings
Installing Bundler
Installing Cucumber (and RSpec)
Installing Other Gems
Choosing a Text Editor
A3. Ruby Gem Versions
A4. Bibliography
Index
- SYMBOLS -
- A -
- B -.
- C -
- D -
- E -
- F -
- G -
- H -
- I -
- J -
- K -
- L -
- M -
- N -
- O -
- P -
- Q -
- R -
- S -
- T -
- U -
- V -
- W -
- X -
- Y -.
Notes:
Place of publication from publisher's website.
Includes bibliographical references and index.
Description based on online resource; title from PDF title page (EBC, viewed March 14, 2018).
ISBN:
9781680502497
1680502492
9781680504972
1680504975
9781680504965
1680504967
9781680502381
1680502387
OCLC:
981928398

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account