The Bike Shed cover image

382: Domain-Specific Languages

The Bike Shed

00:00

How to Write a DSL for Acceptance Testing

I really enjoy using Caffee Bars DSL for acceptance testing. It's always great when a DSL can give you that experience of abstracting enough to where it makes the code delightful to work with while also not having too high a cost of to learn or being too restrictive in what allows you to do. So maybe to get back to your example with Caffee Barra, it's really nice to have these custom matchers and all of these things to work with HTML pages. And yeah, I really appreciate being able to read those tests from a user perspective and kind of know exactly what they're doing without having to run it in head full mode and see it for myself.

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner
Get the app