Error running tests while trying to start contribuiting on the project #813
Open
Description
Hi! I have read the documentation for contribuiting https://php-di.org/contributing.html and followed them step-by-step, but I've stall at the "Run tests" part.
Because when I ran phpunit, this errror arises:
~/PHP-DI (master) $ phpunit
PHP Fatal error: Trait 'EasyMock\EasyMock' not found in /home/mariano/PHP-DI/tests/UnitTest/ContainerBuilderTest.php on line 24
PHP Stack trace:
PHP 1. {main}() /usr/bin/phpunit-7.1.phar:0
PHP 2. PHPUnit\TextUI\Command::main() /usr/bin/phpunit-7.1.phar:588
PHP 3. PHPUnit\TextUI\Command->run() phar:///usr/bin/phpunit-7.1.phar/phpunit/TextUI/Command.php:151
PHP 4. PHPUnit\TextUI\Command->handleArguments() phar:///usr/bin/phpunit-7.1.phar/phpunit/TextUI/Command.php:162
PHP 5. PHPUnit\Util\Configuration->getTestSuiteConfiguration() phar:///usr/bin/phpunit-7.1.phar/phpunit/TextUI/Command.php:839
PHP 6. PHPUnit\Util\Configuration->getTestSuite() phar:///usr/bin/phpunit-7.1.phar/phpunit/Util/Configuration.php:924
PHP 7. PHPUnit\Framework\TestSuite->addTestFiles() phar:///usr/bin/phpunit-7.1.phar/phpunit/Util/Configuration.php:1016
PHP 8. PHPUnit\Framework\TestSuite->addTestFile() phar:///usr/bin/phpunit-7.1.phar/phpunit/Framework/TestSuite.php:636
PHP 9. PHPUnit\Util\FileLoader::checkAndLoad() phar:///usr/bin/phpunit-7.1.phar/phpunit/Framework/TestSuite.php:558
PHP 10. PHPUnit\Util\FileLoader::load() phar:///usr/bin/phpunit-7.1.phar/phpunit/Util/FileLoader.php:45
PHP 11. include_once() phar:///usr/bin/phpunit-7.1.phar/phpunit/Util/FileLoader.php:57
Metadata
Assignees
Labels
No labels