Feature: Activate WordPress plugins Background: Given a WP install Scenario: Activate a plugin that's already installed When I run `wp plugin activate akismet` Then STDOUT should be: """ Plugin 'akismet' activated. Success: Activated 1 of 1 plugins. """ And the return code should be 0 Scenario: Attempt to activate a plugin that's not installed When I try `wp plugin activate debug-bar` Then STDERR should be: """ Warning: The 'debug-bar' plugin could not be found. Error: No plugins activated. """ And the return code should be 1 When I try `wp plugin activate akismet hello debug-bar` Then STDERR should be: """ Warning: The 'debug-bar' plugin could not be found. Error: Only activated 2 of 3 plugins. """ And STDOUT should be: """ Plugin 'akismet' activated. Plugin 'hello' activated. """ And the return code should be 1 Scenario: Activate all when one plugin is hidden by "all_plugins" filter Given I run `wp plugin install site-secrets` And a wp-content/mu-plugins/hide-us-plugin.php file: """