piece / makegood

A continuous test runner for Eclipse PDT
https://github.com/piece/makegood/wiki
44 stars 17 forks source link

Run PhpUnit tests in make 3.2.0-dev1 failed #86

Open tiateacom opened 8 years ago

tiateacom commented 8 years ago

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] [--] []...

Does any know how to fix this?

Thanks

Sean

umajeric commented 8 years ago

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 commented 7 years ago

It may be better to refer to here. https://github.com/piece/makegood/issues/91

Quezako commented 7 years ago

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

sinerzxa commented 7 years ago

@umajeric thanks, this works for me