Testing Ruby Applications with RSpec

Pluralsight
Course Summary
Learn how to use the popular RSpec suite of libraries (core, expectations, and mocks) to test your Ruby application.
-
+
Course Description
In this course, we will be testing a simple command line card game using RSpec. We'll cover the core three libraries: the first module covers the core syntax and command line runner core, the second the expectation library for expressing rich assertions about your code, and the third covers mocks, a powerful tool for specifying collaborations between objects and getting useful design feedback. The final module places RSpec in the wider Ruby ecosystem, looking at the major RSpec versions and common patterns you'll encounter in the wild. In addition to covering the technical aspects of using RSpec, we'll also cover best practices for using them so you get the most out of your test suite: different types of tests, what kinds of things to test, when different styles are appropriate. This is applied in numerous worked examples.
-
+
Course Syllabus
Course Overview- 1m 26s
—Course Overview 1m 26sGetting Started- 40m 14s
—Introduction 1m 59s
—Install and Setup 2m 21s
—Your First Spec 8m 25s
—Get Organized 3m 51s
—Writing Compact Specifications 9m 31s
—Deep Dive: Examples and Example Groups 4m 26s
—Acceptance Tests 4m 46s
—Hooks and Metadata 3m 46s
—Recap 1m 4sHelpful Failures with Expectations- 22m 43sDesigning Interactions with Mocks- 31m 32sUnderstanding the RSpec Ecosystem- 10m 18s