Feature: Basic check usage # Message "Updating to WordPress' newest minor version is strongly recommended." of type "error" appears. @broken @require-mysql Scenario: Use --spotlight to focus on warnings and errors Given a WP install And I run `wp plugin activate --all` And I run `wp plugin update --all` And I run `wp theme update --all` When I run `wp doctor list --format=count` Then save STDOUT as {CHECK_COUNT} When I run `wp doctor check --all --spotlight` Then STDOUT should be: """ Success: All {CHECK_COUNT} checks report 'success'. """ When I run `wp doctor check plugin-deactivated --spotlight` Then STDOUT should be: """ Success: The check reports 'success'. """ When I run `wp doctor check --all --spotlight --format=json` Then STDOUT should be: """ [] """ Scenario: Filter check results Given a WP install And I run `wp plugin activate --all` And I run `wp plugin update --all` And I run `wp theme update --all` And I run `wp option update blog_public 0` And a wp-content/uploads/foo.php file: """