Cover image for Instant RSpec Test Driven Development How-to.
Instant RSpec Test Driven Development How-to.
Title:
Instant RSpec Test Driven Development How-to.
Author:
Feduke, Charles.
ISBN:
9781782165231
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (80 pages)
Contents:
Instant RSpec Test-Driven Development How-to -- Instant RSpec Test-Driven Development How-to -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt Publishing account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Instant RSpec Test-Driven Development How-to -- Installing RSpec (Simple) -- Getting ready -- How to do it... -- How it works… -- There's more... -- Preparing the RSpec environment (Simple) -- How to do it... -- There's more… -- Refactoring specifications and classes (Simple) -- How to do it... -- How it works... -- Making specs more concise (Intermediate) -- How to do it... -- How it works... -- There's more... -- Handling exceptions (Intermediate) -- How to do it... -- There's more... -- Working with RSpec matchers (Simple) -- How to do it... -- Setting up Rails (Intermediate) -- How to do it... -- Writing ActiveRecord specifications (Intermediate) -- How to do it... -- How it works... -- There's more... -- Gemfile environments -- spec_helper.rb -- rake spec -- Testing Rails routes (Intermediate) -- Getting ready -- How to do it... -- How it works... -- There's more... -- Testing Rails controllers (Intermediate) -- How to do it... -- Stubbing (Intermediate) -- How to do it... -- How it works... -- Mocking (Intermediate) -- How to do it... -- Working with JSON (Intermediate) -- How to do it... -- Speccing file uploads (Advanced) -- Getting ready -- How to do it... -- There's more... -- Integration testing with Capybara (Advanced) -- Getting ready -- How to do it... -- There's more... -- Capybara -- Specification tagging.
Abstract:
Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. A concise guide that delivers immediate results with practical recipes on learning practical hints.This book is aimed at Ruby developers with beginner level expertise who want to use RSpec and test driven development methodology to improve the code they write. Experienced programmers new to Ruby will also benefit from this book which also covers creating testable, idiomatic Ruby code.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: