Advanced
190 Lessons
27h 10min
Certificate of Completion
Takeaway Skills
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
Course Overview
Take a deep dive into the test-driven development (TDD) process by writing and running your own tests for your Ruby-on-Rails applications. Not only will you learn the fundamentals of testing in Ruby and Rails, but also how you can apply the same methods in your daily coding practice. Explore and practice tools such as RSpec and Minitest to make your application development more efficient and robust. By the time you’re done, you’ll have a solid foundation in TDD and be ready to take your expertise in applica...
Course Content
Introduction
Test-Driven Fable
Test-Driven Development Basics
Test-Driven Rails
What Makes a Great Test?
Testing Models
11 Lessons
Adding Data to Tests
12 Lessons
Using Test Doubles as Mocks and Stubs
10 Lessons
Integration Testing with Capybara and Cucumber
14 Lessons
Testing JavaScript: Integration Testing
5 Lessons
Unit-Testing Javascript
13 Lessons
Testing Rails Display Elements
14 Lessons
Minitest
10 Lessons
Testing for Security
11 Lessons
Testing External Services
14 Lessons
Troubleshooting and Debugging
9 Lessons
Running Tests Faster and Running Faster Tests
17 Lessons
Testing Legacy Code
10 Lessons
How You'll Learn
You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.
Videos are holding you back. Educative‘s interactive, text-based lessons accelerate learning — no setup, downloads, or alt-tabbing required.
Learn faster and smarter with adaptive AI tools embedded in every Educative course.
Built-in assessments let you test your skills. Completion certificates let you show them off.