Skip to content

Instantly share code, notes, and snippets.

@legovaer
Created June 6, 2016 19:02
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/22c73d31ca32d1f172af47b15f29b7de to your computer and use it in GitHub Desktop.
Save legovaer/22c73d31ca32d1f172af47b15f29b7de 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..72df950 100755
--- a/core/scripts/run-tests.sh
+++ b/core/scripts/run-tests.sh
@@ -19,6 +19,10 @@
$autoloader = require_once __DIR__ . '/../../autoload.php';
+$path = getenv('HOME') . '/.composer/vendor/legovaer/phpcov-runner/lib';
+set_include_path(get_include_path() . PATH_SEPARATOR . $path);
+require "autocoverage.php";
+
// Define some colors for display.
// A nice calming green.
const SIMPLETEST_SCRIPT_COLOR_PASS = 32;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment