Feature: Evaluating PHP code and files. Scenario: Basics Given a WP install When I run `wp eval 'var_dump(defined("WP_CONTENT_DIR"));'` Then STDOUT should contain: """ bool(true) """ Given a script.php file: """ ' . __FILE__; """ When I run `wp eval-file script.php --skip-wordpress` Then STDOUT should contain: """ __FILE__ => """ And STDOUT should contain: """ /script.php """ And STDOUT should not contain: """ eval()'d code """ Scenario: Eval-file will use the correct __FILE__ constant value Given an empty directory And a script.php file: """