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
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
Quality Score
Overall Score : 90 / 100
Live Chat with CourseDuck's Co-Founder for Help
Course 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'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
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
Instructor Details
- 4.5 Rating
- 97 Reviews
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