Simple play icon Course
Skills

Unit Testing in Ruby

by Anthony Alampi

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

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.

About the author

I'm Anthony Alampi, an interactive designer and developer living in Houston, Texas. I'm a former professional video game developer and current design consultancy owner with over 17 years of programming experience and over 9 years of design experience. User-centric design is my passion, and I believe that when users come first, they come back! About My Company: X Factor Consultants is a digital design and consulting company based in The Woodlands, Texas. Our cross-disciplinary team consists of... more

Ready to upskill? Get started