Skip to content

Instantly share code, notes, and snippets.

@blt04
blt04 / Cucumber_JSON_Expanded_Formatter_README.md
Last active April 25, 2016 05:27
Cucumber JSON "expanded" formatter (expands Scenario Outlines)

Cucumber JSON Expanded formatter

This is similar to the built-in Cucumber JSON formatter except it expands scenario outlines so each row is reported with its result. Thus, scenario outlines appear similar to regular scenarios in the JSON output.

This supports regular mode and "--expand" mode. In both cases, scenario outline tables are expanded (however the underlying logic for doing the expansion varies greatly).