April 2016
Intermediate to advanced
222 pages
4h 30m
English
In this chapter, we will finish our journey through RSpec by learning about a few miscellaneous topics which are important but which didn't quite fit into the flow of the preceding chapters, which focused on a smooth progression through RSpec's essential features.
Here is what we will cover in this chapter:
Often, similar assertions are made in multiple tests, which leads to duplication of code. One of the ways this can be addressed is with RSpec's shared example groups, which allow you to reuse a set of tests to fit different situations. ...
Read now
Unlock full access