You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./phpunit FailTest.php
PHPUnit 7.4.3 by Sebastian Bergmann and contributors.
F 1 / 1 (100%)
Time: 52 ms, Memory: 10.00MB
There was 1 failure:
1) FailTest::testFail
Failed asserting that false is true.
/home/.../phpunit/FailTest.php:4
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
Process isolation:
$ ./phpunit FailTest.php --process-isolation
PHPUnit 7.4.3 by Sebastian Bergmann and contributors.
. 1 / 1 (100%)
Time: 123 ms, Memory: 10.00MB
OK (1 test, 0 assertions)
The text was updated successfully, but these errors were encountered:
sebastianbergmann
changed the title
No assertions run with process isolation
Assertions do not fail in process isolation when PHPUnit is used as PHAR
Nov 8, 2018
sebastianbergmann
changed the title
Assertions do not fail in process isolation when PHPUnit is used as PHAR
Process Isolation does not work when PHPUnit is used as PHAR
Nov 8, 2018
This is related to #3367 and #3306.
When
--process-isolation
is added, no assertions run using the PHAR. If composer is used, the output is correct with or without process isolation.Class isolation has the same output because of #3258.
FailTest.php:
No process isolation:
Process isolation:
The text was updated successfully, but these errors were encountered: