Skip to main content

Ruby for Testers

Ruby + RSpec + Selenium + Capybara. Elegant, expressive, and built for testing. From the Selenium core contributor who teaches it.

intermediate 3 courses 15 lessons

This path requires a Pro subscription

Subscribe to unlock all lessons, challenges, and bug hunts.

View pricing
1

Ruby Fundamentals for Testing

Master Ruby's elegant syntax and object model — the foundation for every major Ruby testing tool.

intermediate ~4.0h
  • Requires subscription
    Why Ruby for Test Automation?
    reading +10 XP
  • Requires subscription
    Ruby Setup and First Script
    reading +15 XP
  • Requires subscription
    Classes and Objects
    reading +15 XP
  • Requires subscription
    Blocks, Procs, and Lambdas
    reading +15 XP
  • Requires subscription
    Collections and Enumerable
    reading +15 XP
2

Ruby Testing Frameworks

From RSpec to Capybara — learn the frameworks that made Ruby the gold standard for readable test automation.

intermediate ~5.0h
  • Requires subscription
    RSpec Fundamentals
    reading +15 XP
  • Requires subscription
    RSpec Advanced Patterns
    reading +15 XP
  • Requires subscription
    Selenium with Ruby
    reading +20 XP
  • Requires subscription
    Capybara for Web Testing
    reading +20 XP
  • Requires subscription
    Page Object Model in Ruby
    reading +20 XP
3

Ruby Testing Ecosystem

API testing, test data, mocking, CI integration — the complete toolkit for production-grade Ruby test suites.

intermediate ~4.0h
  • Requires subscription
    API Testing with HTTParty and Faraday
    reading +15 XP
  • Requires subscription
    Test Data with FactoryBot
    reading +15 XP
  • Requires subscription
    Mocking with RSpec Mocks
    reading +15 XP
  • Requires subscription
    Rake Tasks and CI Integration
    reading +15 XP
  • Requires subscription
    Capstone: Complete Ruby Test Suite
    exercise +25 XP