From 2e6b9e680ac0275e3b919840933d2e005efb2f3d Mon Sep 17 00:00:00 2001 From: Michiel Holtkamp Date: Thu, 2 Nov 2017 16:26:40 +0100 Subject: [PATCH] Updated README, CHANGES and AUTHORS --- AUTHORS.rst | 1 + CHANGES.rst | 6 ++++++ README.rst | 6 ++++++ 3 files changed, 13 insertions(+) diff --git a/AUTHORS.rst b/AUTHORS.rst index aae000b..1dde5c8 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -18,5 +18,6 @@ These people have contributed to `pytest-bdd`, in alphabetical order: * `Harro van der Klauw `_ * `Laurence Rowe `_ * `Leonardo Santagada `_ +* `Michiel Holtkamp `_ * `Robin Pedersen `_ * `Sergey Kraynev `_ diff --git a/CHANGES.rst b/CHANGES.rst index c1cf0a7..06fc4da 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,12 @@ Changelog ========= +2.19.0 +------ + +- Added --cucumber-json-expanded option for explicit selection of expanded format (mjholtkamp) +- Step names are filled in when --cucumber-json-expanded is used (mjholtkamp) + 2.18.2 ------ diff --git a/README.rst b/README.rst index 2354cdc..b2aec1d 100644 --- a/README.rst +++ b/README.rst @@ -1133,6 +1133,12 @@ To have an output in json format: py.test --cucumberjson= +This will output an expanded (meaning scenario outlines will be expanded to several scenarios) cucumber format. +To also fill in parameters in the step name, you have to explicitly tell pytest-bdd to use the expanded format: + +:: + + py.test --cucumberjson= --cucumberjson-expanded To enable gherkin-formatted output on terminal, use