handbook/behat-steps/then-stdout-should-be-a-table-containing-rows.md
github-actions[bot] c22aa665e6 Regenerate handbook
2025-12-17 18:56:32 +00:00

4.7 KiB

Then /^STDOUT should be a table containing rows:$/

Expect STDOUT to be a table containing the given rows.


Usage

Scenario: My example scenario
  Given a WP installation
  When I run `wp config list --fields=name,type`
  Then STDOUT should be a table containing rows:
    | name    | type     |
    | DB_NAME | constant |
    | DB_USER | constant |

Behat steps documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.