diff --git a/features/profile.feature b/features/profile.feature index a4c1ecf..bc3f680 100644 --- a/features/profile.feature +++ b/features/profile.feature @@ -1,5 +1,19 @@ Feature: Basic profile usage + Scenario: Assert available commands + Given a WP install + + When I run `wp profile` + Then STDOUT should be: + """ + usage: wp profile eval [--fields=] [--format=] + or: wp profile eval-file [--fields=] [--format=] + or: wp profile hook [--url=] [--fields=] [--format=] + or: wp profile stage [] [--all] [--url=] [--fields=] [--format=] + + See 'wp help profile ' for more information on a specific command. + """ + Scenario: Error when SAVEQUERIES is defined to false Given an empty directory And WP files