Beautiful Data for Beautiful Tests
In the preceding chapter, you saw first-hand our strong desire to make the repetitive tasks we do on a day-to-day basis beautiful. If I’m going to express a concept once or twice, I might be willing to live with the evil twins Ugly and Repetitive, but tests and the data that make them go will be expressed hundreds of times. I’m going to do everything I can to strip away all of the layers of tedium.
With Blacksmith, we want to be able to express these concepts with the best possible syntax:
-
Templates: the central premise of Blacksmith is that we express a template in a module called Forge. That template describes an entity. This foundation will feed the many different data forms that we need. Users can then ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access