Introduction to RSpec Testing


Not CompletedIntro to TDD/BDD with the RSpec Testing Framework

In this lesson, we're going to learn the basics of RSpec, a popular testing library for Ruby and Rails applications. Since many students have reached out to me about this topic, I felt it should be added to the curriculum.

Not CompletedTesting Models with RSpec in a Rails Application

In this lesson, we are going to create a sample user model for RSpec testing. This will give us a model to work with and build in some tests for behavior.

Not CompletedHow to Write RSpec Validation Tests Part 1 of 2

Now that we have our user model ready, we are going to create some tests for it in this lesson. Validations are helpful while learning about TDD/BDD practices since they're easy to understand and can be tested independently from other code.

Not CompletedHow to Write RSpec Validation Tests Part 2 of 2

In this lesson we're going to continue building out the validation tests for our User model using the RSpec testing framework in a Ruby on Rails application, using TDD principles to guide our development.

Unsupported Browser

devCamp does not support ancient browsers.
Install a modern version for best experience.