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 2022

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
Live Chat with CourseDuck's Co-Founder for Help

Need help deciding on a ruby on rails course? Or looking for more detail on Boris Paskhaver's Testing Ruby with RSpec: The Complete Guide? Feel free to chat below.
Join CourseDuck's Online Learning Discord Community

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

*Some courses are excluded from this sale. Coupon not working? If the link above doesn't drop prices, clear the cookies in your browser and then click this link here.
Also, you may need to apply the coupon code directly on the cart page to get the discount.

Coupon Code

icon
Instructor Details

Boris Paskhaver

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
Reviews

4.5

97 total reviews

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

There were a few pieces that were not assessed and I would have liked a chance to practice them myself and compare my code to the instructors. However, beyond that I appreciated the clarity of the examples, the ability work alongside the instructor, and the reference repo I was able to create by following along!

This is what I was looking forMy only thing was you type blazingly fast but it's all video so I was able to pause when I needed to catch up.Content-wise this was perfect, thanks

It is one of the best tutorials I have ever taken on udemy. Even though I am super new to ruby and rspec I was able to follow every single step in all the videos. After finishing the course, I feel like I have solid theoretical knowledge in rpsec. Thanks Boris!

Great course. Very easy to follow examples, which were not overly complicated but still got the purpose of the core functionality across. A very accessible resource for anyone starting out or wanting to get to know RSpec better.

The course was a good experience to learn RSpec to test Ruby. This course could have more potential if you can add testing in RoR (using factory_bot and other gems).

Boris is amazing teacher, his explanations are clear and engaging, the course is well structured and has lots of useful content. Keep up the good work!

Boris is very knowledgable and it comes through in this course. There is a lot of good info here. I would love a course that used all of these concepts in a real app - the thinking behind writing good tests, when to use different methods (doubles, spies, etc) - an in-depth look at TDD in the real world.

I came in with beginner ruby knowledge and no knowledge of automated testing and this taught me everything I wanted to learn and more. The content is very clear and organized, with great examples and counterexamples. The quizzes were good comprehension checks and the code content was engaging and funny. Boris also speaks very clearly, so he is very comprehensible on 2x speed which is my usual mode for taking e-courses like this.

As I've deepened my understanding of RoR, I've attempted to adopt app testing. However, Rails onboard testing rarely gave me the confidence and satisfaction that I sought. Worse, I'd have passing tests but the production app would crash. Nice!Your course has pulled the shroud off a mystery to me which for too long has been avoided. The syllabus was introductory, which I required, and the instruction clear and insightful. In acquainting myself with RSpec, and TDD, I'm seeing an immediate impact on my development. I look forward to learning more. Thank you.

I followed along as I watched each video and love how each example is in their own spec file with a descriptive title. Each example is easy to understand and explained really well. Thanks you for an amazing course!

I needed to write tests for a rails website. It gave me a good introduction, but still a lot of things relevant to model, controller and other tests were not present, which I expected. Still a good basic course.

The best Rspec course I could have ever found on the internet.