-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Process Isolation does not work when using PHPUnit from PHAR #2467
Labels
type/bug
Something is broken
Comments
I have the same issue.
Test: class InSeparateTest extends \PHPUnit\Framework\TestCase
{
/**
* @runInSeparateProcess
*/
public function testCanRunInSeparateProcess()
{
$this->assertTrue( true );
}
} The execution prints:
Following the trace this might be the problem:
|
Confirmed: process isolation does not work when PHPUnit 6 is used from a PHAR:
|
sebastianbergmann
changed the title
phpunit 6.0.2 not executes tests when @runInSeparateProcess annotation is used
Process Isolation does not work when using PHPUnit from PHAR
Feb 3, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good evening, I have this problem
phpunit not executes tests when @runInSeparateProcess annotation is used
I thought that the problem was from my virtual machine but updating of phpunit on travis, gave same result.
phpunit.xml
Test
Output
All OK,
After adding annotation phpunit not starts tests, using strict_types=1 is indifferent
Test
Output (ctrl+c after some time)
The text was updated successfully, but these errors were encountered: