Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

Unit Testing in Ruby

This course will teach you how to configure and use RSpec to test existing Ruby code.

Intermediate
1h 10m
(3)

Created by Anthony Alampi

Last Updated Dec 04, 2023

Course Thumbnail
  • Course

Unit Testing in Ruby

This course will teach you how to configure and use RSpec to test existing Ruby code.

Intermediate
1h 10m
(3)

Created by Anthony Alampi

Last Updated Dec 04, 2023

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

There are a number of different programming languages to choose from when building web projects. A powerful option is the Ruby programming language! But your work doesn’t end after development is completed; you also need to test your Ruby app for errors. In this course, Unit Testing in Ruby, you’ll learn to utilize RSpec to test your code, adhering to Ruby best practices.. First, you’ll explore the basic concepts surrounding unit testing. Next, you’ll discover how to configure RSpec and use it to run code, leveraging Rspec’s helpers and setup capabilities for creating realistic scenarios. Finally, you’ll learn how to incorporate more advanced testing techniques, such as using pry, simplecov, and mocks/stubs. When you’re finished with this course, you’ll have the skills and knowledge to fully test a Ruby project with RSpec.

Unit Testing in Ruby
Intermediate
1h 10m
(3)
Table of contents

About the author
Anthony Alampi - Pluralsight course - Unit Testing in Ruby
Anthony Alampi
43 courses 3.7 author rating 416 ratings

I'm Anthony Alampi, an interactive designer and developer living in Austin, Texas. I'm a former professional video game developer and current web design company owner.

Get started with Pluralsight