Crash Course Intro to RSpec
Introduction
Overview
Workshop Guide
Testing Terminology
Basic Anatomy & Usage
Set up Rails with RSpec & friends
Set up RSpec
Set up FactoryBot & Faker
Scaffolding Tests
Testing Models
Shoulda Matchers
Using Factories
Testing Controllers & Routing
Test Drive your Routing
Controller Testing & Devise
Testing Views
To Test or Not to Test
Testing Business Logic
Our Spec
Integration Test
Unit Test
Powered by
GitBook
Testing Business Logic
Testing Business Logic
In this section, we'll...
Translate our business logic into tests
Write a failing integration test - make it pass
Write out unit tests
Starting Branch
$> git checkout testing_biz_logic_start
results matching "
"
No results matching "
"