How to run Unit Tests?
konovalov-nk opened this issue · 1 comments
konovalov-nk commented
I'm getting this error:
PHP Fatal error: Class 'Kodeine\Acl\Tests\TestCase' not found
How I've tried to run it:
# phpunit - executes tests in Laravel installation (tests/ folder)
# phpunit vendor/kodeine/laravel-acl/tests/. - Couldn't find class 'Kodeine\Acl\Tests\TestCase'
# vendor/bin/phpunit - executes tests in Laravel installation
# vendor/bin/phpunit vendor/kodeine/laravel-acl/tests/. - Couldn't find class 'Kodeine\Acl\Tests\TestCase'
Thank you for your time making this package!
konovalov-nk commented
Answering my own question.
# composer install --dev
# ./vendor/phpunit/phpunit/phpunit tests/