Lumen-framework: phpunit does not work out of the box

Created on 26 May 2017  路  7Comments  路  Source: laravel/lumen-framework

  • Lumen Version: 5.4
  • PHP Version: 7.1
  • Database Driver & Version: None

Description:

Cannot run phpunit out of the box

Steps To Reproduce:

Following the lumen installation directions

~/.composer/vendor/bin/lumen new test
cd test
chmod a+x vendor/bin/phpunit
./vendor/bin/phpunit
You need to set up the project dependencies using Composer:

    composer install

You can learn all about Composer on https://getcomposer.org/.

Even after running composer install it will not work. The only thing that works is if I delete composer.lock and vendor and run composer install again.

Most helpful comment

If you have installed lumen using the lumen installer you will face an issue that composer will not link files in bin directory correctly (each time you will face a different issue), you will have to delete the vendor directory and then run composer install again.

All 7 comments

Getting this issue as well. (Don't think this is a laravel issue.)

If you have installed lumen using the lumen installer you will face an issue that composer will not link files in bin directory correctly (each time you will face a different issue), you will have to delete the vendor directory and then run composer install again.

@rickshawhobo since we identify the issue as a problem with the Lumen installer it would be nice if you can close this issue as it has nothing to do with the framework.

thanks

@linuxjuggler The lumen installer project has no way to make a new issue. Can we keep it here for tracking?

@rickshawhobo its not something for me to decide tbh, but I dont think its something will be fixed any soon

Thanks I'll take a look at the installer code and see if I can spot the bug and make a pull request @linuxjuggler

Closing this issue because it's already solved, old or not relevant anymore. Feel free to reply if you're still experiencing this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rtheunissen picture rtheunissen  路  3Comments

cvinothkumar picture cvinothkumar  路  3Comments

matthewsuan picture matthewsuan  路  3Comments

gfazioli picture gfazioli  路  5Comments

hamihaa picture hamihaa  路  3Comments