Feature: Determine whether the value of a constant or variable defined in wp-config.php is true. Background: Given an empty directory And a wp-includes/version.php file: """ ` Then STDOUT should be empty Then STDERR should be empty And the return code should be 0 Examples: | variable | | WP_TRUTH | | WP_STR_TRUTH | | WP_STR_MISC | | WP_STR_FALSE | | wp_str_var_truth | | wp_str_var_false | | wp_str_var_misc | Scenario Outline: Get the value of a variable whose value is not true When I try `wp config is-true ` Then STDOUT should be empty And the return code should be 1 Examples: | variable | | WP_FALSE | | WP_STRZERO | | WP_NUMZERO | | wp_variable_bool_false | Scenario Outline: Test for values which do not exist When I try `wp config is-true --type=` Then STDOUT should be empty And the return code should be 1 Examples: | variable | type | | WP_TEST_CONSTANT_DNE | all | | wp_test_variable_dne | variable | Scenario: Test for correct functionality with included PHP files. When I try `wp config is-true WP_INC_TRUTH` Then STDOUT should be empty Then STDERR should be empty And the return code should be 0 When I try `wp config is-true WP_INC_FALSE` Then STDOUT should be empty And the return code should be 1