Current path: home/webdevt/www/wdp/wp-content/plugins/wdp-facture-groupe/vendor/wp-cli/entity-command/features/
?? Go up: /home/webdevt/www/wdp/wp-content/plugins/wdp-facture-groupe/vendor/wp-cli/entity-command
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:
"""