Fundamentals of Testing Using Rails
Gain insights into TDD, learn about writing and running tests using RSpec and Minitest, and explore how to apply testing fundamentals to enhance Ruby-on-Rails application development.
- Understand the fundamentals of test-driven development
- Write and run tests for your application using RSpec and Minitest
- Learn to make failing tests pass
- Test the security of your application
- Configure your routes, models, views, and controllers
Learning Roadmap
1.
Introduction
Introduction
2.
Test-Driven Fable
Test-Driven Fable
3.
Test-Driven Development Basics
Test-Driven Development Basics
14 Lessons
14 Lessons
4.
Test-Driven Rails
Test-Driven Rails
11 Lessons
11 Lessons
5.
What Makes a Great Test?
What Makes a Great Test?
8 Lessons
8 Lessons
6.
Testing Models
Testing Models
11 Lessons
11 Lessons
7.
Adding Data to Tests
Adding Data to Tests
12 Lessons
12 Lessons
8.
Using Test Doubles as Mocks and Stubs
Using Test Doubles as Mocks and Stubs
10 Lessons
10 Lessons
9.
Integration Testing with Capybara and Cucumber
Integration Testing with Capybara and Cucumber
14 Lessons
14 Lessons
10.
Testing JavaScript: Integration Testing
Testing JavaScript: Integration Testing
5 Lessons
5 Lessons
11.
Unit-Testing Javascript
Unit-Testing Javascript
13 Lessons
13 Lessons
12.
Testing Rails Display Elements
Testing Rails Display Elements
14 Lessons
14 Lessons
13.
Minitest
Minitest
10 Lessons
10 Lessons
14.
Testing for Security
Testing for Security
11 Lessons
11 Lessons
15.
Testing External Services
Testing External Services
14 Lessons
14 Lessons
16.
Troubleshooting and Debugging
Troubleshooting and Debugging
9 Lessons
9 Lessons
17.
Running Tests Faster and Running Faster Tests
Running Tests Faster and Running Faster Tests
17 Lessons
17 Lessons
18.
Testing Legacy Code
Testing Legacy Code
10 Lessons
10 Lessons
The Pragmatic Programmers
We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.
Trusted by 2.9 million developers working at companies
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
Software Developer
Carlos Matias La Borde
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Built for 10x Developers












Free Resources