handbook/references/behat-steps/then-stdout-should-be-a-table-containing-rows.md
Pascal Birchler 264cb131bf
Fix handbook information architecture
- Organize files in folders according to the desired structure
- Use directory iterator to loop through all files and folders (makes generation more robust)
2025-06-25 15:38:39 +02: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.