for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
$_tests_dir = getenv('WP_TESTS_DIR');
if (!$_tests_dir) {
$_tests_dir = '/tmp/wordpress-tests-lib';
}
require_once $_tests_dir . '/includes/functions.php';
require_once __DIR__ . '/../vendor/autoload.php';
function _manually_load_plugin() {
require __DIR__ . '/../WPTools.php';
tests_add_filter('muplugins_loaded', '_manually_load_plugin');
require $_tests_dir . '/includes/bootstrap.php';