Skip to content

Instantly share code, notes, and snippets.

@legovaer
Last active June 4, 2016 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save legovaer/6e3bd63340cb48eed4e556303b5b97b9 to your computer and use it in GitHub Desktop.
Save legovaer/6e3bd63340cb48eed4e556303b5b97b9 to your computer and use it in GitHub Desktop.
diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh
index df61328..2b18c3e 100755
--- a/core/scripts/run-tests.sh
+++ b/core/scripts/run-tests.sh
@@ -17,6 +17,10 @@
use Drupal\simpletest\TestDiscovery;
use Symfony\Component\HttpFoundation\Request;
+$path = __DIR__ . "/../vendor/phpunit/phpcov/src/lib";
+set_include_path(get_include_path() . PATH_SEPARATOR . $path);
+require "autocoverage.php";
+
$autoloader = require_once __DIR__ . '/../../autoload.php';
// Define some colors for display.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment