Skip to content

Run PhpUnit tests in make 3.2.0-dev1 failed #86

Open

Description

@tiateacom

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

Activity

  1. umajeric commented on May 12, 2016

    @umajeric

    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

  2. yutakachi commented on May 10, 2017

    @yutakachi

    It may be better to refer to here.
    #91

  3. Quezako commented on May 10, 2017

    @Quezako

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

  4. sinerzxa commented on May 10, 2017

    @sinerzxa

    @umajeric thanks, this works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions