deployer/tests/e2e/bootstrap.php
Sacharski Bartłomiej 165ffa119a
Implemented ConsoleApplicationTester for isolated E2E tests (#2513)
Added a new class ConsoleApplicationTester, which during E2E tests
will create a separate isolated process for the Deployer to run in.

This class exposes methods for interacting with stdin and to grab
stdout, stderr and status code of finished process.
2021-04-17 23:11:26 +03:00

15 lines
369 B
PHP

<?php
$file = __DIR__ . '/../../vendor/autoload.php';
if (file_exists($file)) {
require_once $file;
} else {
die(
'You need to set up the project dependencies using the following commands:' . PHP_EOL .
'composer install' . PHP_EOL
);
}
require_once __DIR__ . '/ConsoleApplicationTester.php';
require_once __DIR__ . '/AbstractE2ETest.php';