The Frontier logo The Frontier logo
08:16
Josh Justice

Rails APIs (Part 7) - Testing Web Services

Josh Justice | Oct 08, 2018


How do I set up testing for my Rails web service?

In previous screencasts, we built out a simple but full-featured web service. We have several tables of related data, validation, default values, and authorization. This is great, but it’s also starting to get complex enough that we might break something! Luckily, Rails’ testing support is second-to-none. Let's automate some tests of our API.

In this screencast...

In this screencast, we'll learn how to set up automated testing for our Rails web service.

After this screencast, you'll be able to…

- Run automated tests for your Rails web service

Prerequisites:

Basic knowledge or experience building front-end applications is recommended.

Additional Resources:

Rails Guides
RSpec
rspec-rails
Programming Ruby