widget-command/features/profile-hook-feature.feature
2016-09-08 05:49:18 -07:00

10 lines
310 B
Gherkin

Feature: Profile a specific hook
Scenario: Profile a hook without any callbacks
Given a WP install
When I run `wp profile --hook=setup_theme --fields=callback`
Then STDOUT should be a table containing rows:
| callback |
| total |
And STDERR should be empty