This course will teach you how to configure and use RSpec to test existing Ruby code.
This course will teach you how to configure and use RSpec to test existing Ruby code.
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.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.