In this chapter, we took a second look at the main ways to structure your examples into groups. You saw how important it is to take the time to get the words right, and use terms in your specs like context or specify where they make more sense than describe or it.
We also dove into ways to move duplicated setup code out of your specs: let definitions, hooks, and helper methods. Although we’ve had brief encounters with these techniques in prior chapters, you saw how to get the most out of them here.
Finally, we talked about how to share examples or entire contexts. Now, it’s time to bring these techniques to bear on your own code.
In this exercise, you’ve inherited specs for two different URI parsers. The implementations have ...