Table-Driven Specifications

#99 - Better Software With Acceptance Test-Driven Development - Kenneth Pugh

Topic 9 of 11

Published Aug 1, 2022 · Clip 39:09–42:47 (3:38)

Ken advocates table-driven specifications for scenarios with more data, where attributes become column headers with data underneath. Tables draw out domain terms and attributes better than sentences, and are natural for business people who all use Excel. Tables are easy to extend with new columns and allow defaulting values in step definition code, making them both readable and efficient.