ENGLISH

Effective testing with RSpec 3: build Ruby apps with confidence

Book information

Publisher
The Pragmatic Bookshelf
Year
2017
ISBN
9781680501988, 1680501984
Language
english
Format
PDF
Filesize
4 MB (4678171 bytes)
Series
Pragmatic programmers
Pages
xviii, 331 pages : illustrations (some color) ; 24
Time added
2020-07-26 19:24:52

Description

"RSpec has been downloaded more than 100 million times and has inspired countless test frameworks in other languages. Use this influential Ruby testing framework to iteratively develop a project with the confidence that comes from well-tested code. This book guides you through creating a Ruby project with RSpec 3, and explores the individual components in detail."--Back cover;Getting started. Getting started with RSpec -- From writing specs to running them -- The RSpec way -- Building an app with RSpec 3. Starting on the outside: acceptance specs -- Testing in isolation: unit specs -- Getting real: integration specs -- RSpec core. Structuring code examples -- Slicing and dicing specs with metadata -- Configuring RSpec -- RSpec expectations. Exploring RSpec expectations -- Matchers included in RSpec expectations -- Creating custom matchers -- RSpec mocks. Understanding test doubles -- Customizing test doubles -- Using test doubles effectively -- RSpec and the wider Ruby ecosystem -- Using RSpec with Rails -- Matcher cheat sheet. Getting started. Getting started with RSpec -- From writing specs to running them -- The RSpec way -- Building an app with RSpec 3. Starting on the outside: acceptance specs -- Testing in isolation: unit specs -- Getting real: integration specs -- RSpec core. Structuring code examples -- Slicing and dicing specs with metadata -- Configuring RSpec -- RSpec expectations. Exploring RSpec expectations -- Matchers included in RSpec expectations -- Creating custom matchers -- RSpec mocks. Understanding test doubles -- Customizing test doubles -- Using test doubles effectively -- RSpec and the wider Ruby ecosystem -- Using RSpec with Rails -- Matcher cheat sheet.

Similar books