Skip to content
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

Run PhpUnit tests in make 3.2.0-dev1 failed #86

Open
tiateacom opened this issue Dec 23, 2015 · 4 comments
Open

Run PhpUnit tests in make 3.2.0-dev1 failed #86

tiateacom opened this issue Dec 23, 2015 · 4 comments

Comments

@tiateacom
Copy link

Hello,

I am using Eclipse Luna to run phpunit test through makegood 3.2.0-dev1. But no process showing, and got an error:

[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
You cannot set service "service_container".

phpunit [-p|--preload-script PRELOAD-SCRIPT] [-c|--config CONFIG] [-R|--recursive] [-a|--autotest] [-w|--watch-dir WATCH-DIR] [-m|--notify] [-d|--detailed-progress] [-s|--stop-on-failure] [--log-junit LOG-JUNIT] [--log-junit-realtime] [--test-file-pattern TEST-FILE-PATTERN] [--test-method TEST-METHOD] [--test-class TEST-CLASS] [--phpunit-config PHPUNIT-CONFIG] [--] [<test_directory_or_file>]...

Does any know how to fix this?

Thanks

Sean

@umajeric
Copy link

A little bit late, but still it will maybe help someone else. The issue in my case was symfony/dependency-injection (version 3.0.6 in my case) package.
Once I removed this dependency everything worked fine.

Uros

@yutakachi
Copy link

It may be better to refer to here.
#91

@Quezako
Copy link

Quezako commented May 10, 2017

@yutakachi thanks, I've already tried this, but it doe not work for me. :(

@sinerzxa
Copy link

@umajeric thanks, this works for me

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

5 participants