Then /^STDOUT should be YAML containing:$/


目录

Expect STDOUT to be YAML containing certain content.


Usage

Scenario: My example scenario
  When I run `wp cli alias list`
  Then STDOUT should be YAML containing:
    """
    @all: Run command against every registered alias.
    @foo:
      path: {TEST_DIR}/foo
    """

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



版本号 #1
由 cocobook-sync 创建于 2026-10-28 11:38:09 UTC
由 cocobook-sync 更新于 2026-10-28 11:38:09 UTC