The 4 Layer Approach to Your Test Code
Behavior-Driven Development (BDD) makes it clear that you need to establish a language that describes the problems you are aiming to fix. Whether you use an internal DSL (built on top of your programming language) or an external DSL like Gherkin, Dave suggests a four-layer approach to test code. These layers include: the test cases, which focus on what the system needs to do; the DSL layer, which defines the language and provides helpful tools; and the protocol drivers, which act as the "glue" that translates ideas in the problem domain's language into interactions with the system under test. - #softwareengineering #softwaredevelopment #programming
Watch on Continuously Delivered
Opens in a new tab




