Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
wp
/
vendor
/
wp-cli
/
entity-command
/
features
📤 Upload
📝 New File
📁 New Folder
Close
Editing: term-generate.feature
Feature: Generate WP terms Background: Given a WP install Scenario: Generating terms When I run `wp term generate category --count=10` And I run `wp term list category --format=count` Then STDOUT should be: """ 11 """ Scenario: Generating terms when terms already exist When I run `wp term generate category --count=10` And I run `wp term generate category --count=10` And I run `wp term list category --format=count` Then STDOUT should be: """ 21 """ Scenario: Generating terms and outputting ids When I run `wp term generate category --count=1 --format=ids` Then save STDOUT as {TERM_ID} When I run `wp term update category {TERM_ID} --name="foo"` Then STDOUT should contain: """ Success: """
Save
Cancel