Get Free Shipping on orders over $79
Testing Ruby with RSpec : The Complete Guide - Boris Paskhaver

Testing Ruby with RSpec

The Complete Guide

By: Boris Paskhaver

eText | 8 August 2019 | Edition Number 1

At a Glance

eText


$112.19

or 4 interest-free payments of $28.05 with

 or 

Instant online reading in your Booktopia eTextbook Library *

Why choose an eTextbook?

Instant Access *

Purchase and read your book immediately

Read Aloud

Listen and follow along as Bookshelf reads to you

Study Tools

Built-in study tools like highlights and more

* eTextbooks are not downloadable to your eReader or an app and can be accessed via web browsers only. You must be connected to the internet and have no technical issues with your device or browser that could prevent the eTextbook from operating.

Master the syntax and structure of RSpec, the most popular Ruby Gem for testing right from scratch!

Key Features

  • Master the syntax and structure of RSpec, the most popular Ruby Gem for testing
  • Explore the wide collection of RSpec matches available to test your code
  • Utilize test-driven development principles to design and implement clean test specs in Ruby

Book Description

This course offers a comprehensive overview of the RSpec testing library for the Ruby programming library. RSpec is the most popular Ruby Gem of all time, with over 300 million downloads to date. If you are new to the topic, testing is the practice of writing code that confirms that other code works as expected. Tests control regressions, which are changes to the code that breaks the program.

The benefits of testing extend beyond the codebase. Adopting a test-driven approach will also make you a better developer. Tests force you to think critically about a program and its features: classes, objects, methods, and more.

This course begins with the essentials and proceeds to more complex topics, including installation, project initialization, Test-Driven Development (TDD), let variables, before and after hooks, subjects, shared examples, shared context, built-in matches, mocks and doubles, instance doubles, and class doubles.

At the completion of this course, you will have acquired hands-on Ruby testing experience with this awesome RSpec library.

All Resources for this course are available at https://github.com/packtpublishing/testing-ruby-with-rspec-the-complete-guide

What you will learn

  • Learn how to install RSpec and initialize the project
  • Cover Test-Driven Development (TDD), methods, and hooks
  • Learn about subjects, shared examples, and shared context
  • Explore built-in matchers such as not_to, all, eq, and more
  • Learn to create a test double
  • Understand instance doubles and class doubles

Who this book is for

Programmers who want to explore the fundamentals of testing and TDD and intermediate Ruby developers interested in upgrading their skillset will benefit from this course. Knowing any text editor (VS Code is recommended) would be beneficial. No previous testing experience is needed!
on
Desktop
Tablet
Mobile

More in Programming & Scripting Languages

Grokking Statistics - Thomas Nield

eBOOK

Learn Calculus with Python - Nick McIntyre

eBOOK

RRP $61.44

$49.99

19%
OFF