Testing Ruby with RSpec: The Complete Guide (Udemy.com)

Master the art of test-driven development in Ruby using the popular RSpec Gem. No previous testing experience needed!

Created by: Boris Paskhaver

Produced in 2021

icon
What you will learn

  • Utilize test-driven development principles to design and implement clean test specs in Ruby
  • Master the syntax and structure of RSpec, the most popular Ruby Gem for testing
  • Reduce dependencies in your test suite by mocking objects with class and instance doubles
  • Explore the wide collection of RSpec matchers available to test your code

icon
Quality Score

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 90 / 100

icon
Course Description

Welcome to Testing Ruby with RSpec: The Complete Guide!
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're new to the topic, testing is the practice of "writing code that confirms that other code works as expected". Tests control for regressions, which are changes to the code that break the program.
The benefits of testing extend outside of the codebase. Adopting a test-driven approach will also make you a better developer. Tests force you to think critically about the program and its features: the classes, the objects, the methods and more.
Testing Ruby with RSpec 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 Matchers
  • Mocks and Doubles
  • Instance Doubles
  • Class Doubles
As a software engineer and consultant who's worked with Ruby for several years, I'm excited to introduce you to the awesome RSpec library, its elegant syntax, and all of its fun quirks.
Thanks for checking out the course!Who this course is for:
  • Intermediate Ruby developers interested in upgrading their skill set
  • Programmers who want to explore the fundamentals of testing and TDD

icon
Instructor Details

placeholder

Hi there! I'm a New York City-based software engineer and consultant who's been teaching on Udemy since 2016.
Like many of my peers, I did not follow a conventional approach to my current role as a web developer. After graduating from New York University in 2013 with a degree in Business Economics and Marketing, I worked as a business analyst, systems administrator, and data analyst for a variety of companies including a digital marketing agency, a financial services firm, and an international tech powerhouse. At one of those roles, I was fortunate enough to be challenged to build several projects with Python and JavaScript.
There was no formal computer science education for me; I discovered coding entirely by accident. A small work interest quickly blossomed into a passionate weekend hobby. In early 2017, I left my former role to attend App Academy, a rigorous full-stack web development bootcamp in NYC. The rest is history.
I've always been fascinated by the intersection of technology and education, especially since I've struggled with many of the traditional resources people use to learn how to program. My goal as an instructor is to create comprehensive step-by-step courses that break down the complex details into small, digestible pieces. I like to build the kind of material that I myself would have loved to have when I was starting out.
I'm passionate about teaching and woul

icon
More courses by Boris Paskhaver

Learn to Code with Ruby

$11.99

Data Analysis with Pandas and Python

$11.99

Excel VBA Programming - The Complete Guide

$11.99

Learn to Code with Python

$11.99

Getting Started with React Hooks

$11.99

icon
More ruby on rails courses

Learn Ruby on Rails - Build a Craigslist Clone

$11.99

Learn to Code with Ruby

$11.99

Dissecting Ruby on Rails 5 - Become a Professional Developer

$11.99

Professional Rails Code Along

$11.99

Introduction to Coding with Ruby

$11.99

Vim for Ruby Developers

$11.99

icon
Reviews

4.5

97 total reviews

5 star 4 star 3 star 2 star 1 star
% Complete
% Complete
% Complete
% Complete
% Complete

Great course! Thank you

The structure of the course lends itself well to being a resource that you can keep coming back to for a refresher on a specific topic.

Each example is very well contained which makes it really welcoming to beginners.

It would have been great if the course ended with a fleshed out example. Something that employed TTD to create a simple app. 1-2 hours instead of 5-10 minutes.

Really enjoyed it though, and I've already purchased another course created by Boris. No greater compliment than that!

Yes these are the skills I need for my job. I can't think of any constructive criticism. The course description prior to buying was accurate. It was good for entry level people with only minimal Ruby experience. It started easy and consistently grew in difficulty.

If possible I would recommend trying to mimic real work examples. Perhaps have some slightly more complicated class structures to deal with.

I think it should be more practical exercises particular in chapter 4 .

Thanks

I got a good learning experience with this course. The instructor knows his stuff. And the way he explain the subject for me is easy to understand. After completing this course, I think I became a bit better programmer. I will definitely re watch the whole course again, just in case I miss anything or forgot something.

I am looking forward to enroll to more course from this instructor.

Great match! It has been very clear and useful :)

it's not helping with ruby on rails,

why on earth he put the class and test in one place?????????

Great class. You will build a nice set of test examples that you can use for reference. There are some exercises and projects. For better or for worse, it never gets too complicated or too in-depth.

The course contains good examples which are easy for understanding plus practical assignments.

Really good course. I like how most of the lessons can be viewed individually. Could be improved by adding some instructions on how to set up the VS Code + Ruby + RSpec in other environments such as Windows and Linux.

All in all a really good course.

While a bit verbose, if you want to learn Rspec, this course will deliver.

Good as expected.