mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Launch pest as php subprocess
This commit is contained in:
@ -33,6 +33,7 @@ EOF, $run('tests/Fixtures'));
|
|||||||
|
|
||||||
it('has ascii chars (decorated printer)', function () {
|
it('has ascii chars (decorated printer)', function () {
|
||||||
$process = new Process([
|
$process = new Process([
|
||||||
|
'php',
|
||||||
'./bin/pest',
|
'./bin/pest',
|
||||||
'tests/Fixtures/DirectoryWithTests/ExampleTest.php',
|
'tests/Fixtures/DirectoryWithTests/ExampleTest.php',
|
||||||
], dirname(__DIR__, 2));
|
], dirname(__DIR__, 2));
|
||||||
@ -49,6 +50,7 @@ EOF, $output);
|
|||||||
|
|
||||||
it('disable decorating printer when colors is set to never', function () {
|
it('disable decorating printer when colors is set to never', function () {
|
||||||
$process = new Process([
|
$process = new Process([
|
||||||
|
'php',
|
||||||
'./bin/pest',
|
'./bin/pest',
|
||||||
'--colors=never',
|
'--colors=never',
|
||||||
'tests/Fixtures/DirectoryWithTests/ExampleTest.php',
|
'tests/Fixtures/DirectoryWithTests/ExampleTest.php',
|
||||||
|
|||||||
Reference in New Issue
Block a user