Part 3RSpec Core

RSpec 3 provides a lot of useful ways to help you test your code, but it’s not an all-or-nothing deal. You can pick and choose which aspects of RSpec will work best for your project.

In this part, we’ll look at rspec-core, which runs your specs. You’ll see how to organize your specs, how to share code effectively, how to apply features to arbitrary sets of examples, and how to configure RSpec 3’s more commonly used options.

Get Effective Testing with RSpec 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.