Skip to content

[PHPUnitBridge] Issue with @runInSeparateProcess #23189

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

Closed
raziel057 opened this issue Jun 15, 2017 · 2 comments
Closed

[PHPUnitBridge] Issue with @runInSeparateProcess #23189

raziel057 opened this issue Jun 15, 2017 · 2 comments

Comments

@raziel057
Copy link
Contributor

raziel057 commented Jun 15, 2017

Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no
Symfony version 3.3.2

I noticed there is an issue when running tests with the bridge (vendor/bin/simple-phpunit). When a test is annotate with @runInSeparateProcess the whole test suite is run.

For example if I run, the whole test suite is executed:

php /usr/local/bin/phpunit.phar src/.../Tests/Controller/MyTest.php --filter="testFoo"
/**
 * @runInSeparateProcess
 */
public function testFoo() {}

It's not the case when I remove @runInSeparateProcess or if I run phpunit without the bridge (but it's not supported with Symfony 3.3.2).

@xabbuh
Copy link
Member

xabbuh commented Jun 15, 2017

Related to #23003?

@nicolas-grekas
Copy link
Member

Closing as duplicate yep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants