Skip to content

Instantly share code, notes, and snippets.

@atwellpub
Created May 19, 2015 00:31
Show Gist options
  • Save atwellpub/806c8b3f47498892f4e1 to your computer and use it in GitHub Desktop.
Save atwellpub/806c8b3f47498892f4e1 to your computer and use it in GitHub Desktop.
draft bootstrap.php
<?php
/**
* Bootstrap the plugin unit testing environment.
*
* Edit 'active_plugins' setting below to point to your main plugin file.
*
* @package wordpress-plugin-tests
*/
// Activates this plugin in WordPress so it can be tested.
$GLOBALS['wp_tests_options'] = array(
'active_plugins' => array(
'cta/calls-to-action.php',
'leads/wordpress-leads.php',
'landing-pages/landing-pages.php'
),
);
define( 'VAGRANT' , TRUE );
include './wordpress-develop/tests/phpunit/includes/bootstrap.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment