Your Teacher
Chris Oliver
Hi, I'm Chris. I'm the creator of GoRails, Hatchbox.io and Jumpstart. I spend my time creating tutorials and tools to help Ruby on Rails developers build apps better and faster.
About This Episode
Adding Devise test helpers allows you to quickly login a user for testing controllers in Rails
Notes
Resources
Testing Rails Applications
0% Complete
1
How to Test Validations in Rails
9m
2
Test Driven Development Basics
13m
3
How to use Fixtures to create sample test data
13m
How to use Devise Test Helpers
9m
5
How to write Controller & Integration Tests in Rails
14m
6
How to write System Tests in Rails
13m
7
GitHub Actions with Ruby on Rails: Setting up Continuous Integration
14m
8
Testing API Integrations with WebMock
9m
9
Testing External APIs with VCR
10m
10
How to Test Background Jobs with Active Job
7m
11
Testing Times & Dates with Rails
8m
12
How to test ActionMailer in Rails
13m
13
Testing Rails ActionCable with Devise
12m
14
Fixing Brittle Tests: Avoid Hardcoded Values
4m
15
How to use Test Stubs with Minitest
7m
16
How to use Mocks in Ruby tests
5m
17
Testing ActiveStorage File Uploads and Fixtures
16m
18
Testing File Uploads in Rails with Shrine
22m
19
Code Coverage with SimpleCov and RailsBytes
11m
20
How to Test Gem Dependencies with Appraisal
13m
21
Testing against multiple versions of Ruby, Rails, and Databases with GitHub Actions
14m
22
Using TDD To Fix A Bug In The Kredis Gem
15m
23
System Testing File Uploads in Rails with Uppy and Dropzone Drag & Drop
18m
24
Testing Against Multiple Databases in Rails with The DATABASE_URL Env Var
7m
25
Testing a Meilisearch Integration with Ruby on Rails
16m