you require a working Symfony instance running through Vagrant.
Prerequisites
1) Install Remote Interpreter

2) Add a Remote PHP Interpreter.
use vagrant ssh-config to get required information

3) Setup Path Mapping (Deployment Server)

4) Setup PHPUnit

create a file in app/phpunit.php and use it as a custom loader for phpunit:
<?php
if (!defined('PHPUNIT_COMPOSER_INSTALL')) {
define('PHPUNIT_COMPOSER_INSTALL', __DIR__ . '/autoload.php');
}
require_once 'autoload.php';
this allows you to use @runInSeparateProcess till https://youtrack.jetbrains.com/issue/WI-29458 is fixed
Now everything should be setup and you can run the tests in Vagrant 🙂
