Summary

In this chapter, we created a simple todo list manager web app following the full BDD process, and covered some of the important details for managing this outside-in, black-box approach to features. We learned how to incorporate TDD into the BDD process to create functional and unit tests for the lower-level components of our systems. We saw how we can run our features against external sites and discussed the pros and cons of BDD. Finally, we learned about adding authentication using Rack middleware while leaving the full implementation as an exercise for the motivated reader.

Get RSpec Essentials 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.