phpunit: phpunit wont execute (no errors)

Followed the installation instructions (I have had this working before in another project but try a new install). Seems I have PHPUnit install

laravel-rest/vendor/phpunit/phpunit/phpunit

which is pointed to by an symlink in vendor/bin

phpunit -> ../phpunit/phpunit/composer/bin/phpunit

regardless, running vendor/bin/phpunit, nothing happens (No errors etc) just like the command runs but does nothing.

"require-dev": {

"phpunit/phpunit": "3.7.27"

},

As stated, I have had this working in other projects, but this one has me a bit stumped?

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 39 (18 by maintainers)

Most upvoted comments

We try to use GitHub more for bug tracking than support–especially with 3rd-party libs. I can tell you that this is not a PHPUnit problem. I don’t really know anything about Laravel or Mockery, but I would try adding Mockery to your composer.json to see if that solves the problem. If that doesn’t, then I would suggest the Laravel forums or stackoverflow.

Also, I would suggest not using the dev-hhvm branch of PHPUnit unless you have a pretty good reason.