Summary

In this chapter, we learned about the concept of configurability and its relation to testability. We configured an app using environment variables and some simple Unix tools. We then enhanced the example to address real-world concerns, such as validation of config files, namespacing of configurations, and safe reporting of loaded values.

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.