We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can I use soft-mocks in PHPUnit processIsolation="true" environment?
...It may need a patch for TestCaseClass.tpl and TestCaseMethod.tpl (and skip to patch for phpunit entrypoint).
The text was updated successfully, but these errors were encountered:
Soft Mocks should be safe to run concurrently. Not sure if process isolation is somehow different?
Sorry, something went wrong.
From my short investigation, PHPUnit runs tests using https://github.com/sebastianbergmann/phpunit/blob/master/src/Util/PHP/Template/TestCaseClass.tpl template in separated process. So require_once $composerAutoload is called without SoftMocks::init().
require_once $composerAutoload
No branches or pull requests
Can I use soft-mocks in PHPUnit processIsolation="true" environment?
...It may need a patch for TestCaseClass.tpl and TestCaseMethod.tpl (and skip to patch for phpunit entrypoint).
The text was updated successfully, but these errors were encountered: