Feature: ^^^^^^^^ Background: ''''''''''' - Given File "Passing.feature" with content: .. code:: gherkin Feature: Passing feature Scenario: Passing scenario Given Passing step - And File "conftest.py" with content: .. code:: python from pytest_bdd import step @step('Passing step') def _(): ... Scenario: NDJson(JSONL) could be produced on the feature run '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Output file could be fed into other @cucumber tools for more verbose report `Messages `__ - When run pytest ========== ================= ========== cli_args --messages-ndjson out.ndjson ========== ================= ========== subprocess true ========== ================= ========== - Then File "out.ndjson" has "15" lines - Then Report "out.ndjson" parsable into messages Scenario: HTML report could be produced on the feature run '''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Dummy reporter based on `@cucumber/html-formatter `__ - Given Install npm packages ======== ======================== packages @cucumber/html-formatter ======== ======================== ======== ======================== - When run pytest ========== =============== ======== cli_args --cucumber-html out.html ========== =============== ======== subprocess true ========== =============== ======== - Then File "out.html" is not empty