What you’ll learn
-
Utilize test-driven development principles to design and implement clean test specs in Ruby
-
Master the syntax and structure of RSpec, the most popular Ruby Gem for testing
-
Reduce dependencies in your test suite by mocking objects with class and instance doubles
-
Explore the wide collection of RSpec matchers available to test your code
Testing Ruby with RSpec begins with the essentials and proceeds to more complex topics including:
- Installation
- Project Initialization
- Test-Driven Development (TDD)
- let variables
- before and after Hooks
- Subjects
- Shared Examples
- Shared Context
- Built-in Matchers
- Mocks and Doubles
- Instance Doubles
- Class Doubles
Who this course is for:
- Intermediate Ruby developers interested in upgrading their skill set
- Programmers who want to explore the fundamentals of testing and TDD
Deal Score0
Disclosure: This post may contain affiliate links and we may get small commission if you make a purchase. Read more about Affiliate disclosure here.