Can't running tests


(Tassoman) #1

Hello there, I’m getting an error during execution of ./console tests:run Plugins


root@vmdev:/var/www/piwik# ./console tests:run Plugin
Executing command: cd /var/www/piwik/tests/PHPUnit && php -dzend.enable_gc=0 ../../vendor/phpunit/phpunit/phpunit  --group Plugin
PHP Warning:  require_once(/var/www/piwik/libs/PiwikTracker/PiwikTracker.php): failed to open stream: No such file or directory in /var/www/piwik/tests/PHPUnit/bootstrap.php on line 38
PHP Fatal error:  require_once(): Failed opening required '/var/www/piwik/libs/PiwikTracker/PiwikTracker.php' (include_path='/var/www/piwik/vendor/phpunit/php-text-template:/var/www/piwik/vendor/phpunit/php-timer:/var/www/piwik/vendor/phpunit/php-file-iterator:/var/www/piwik/vendor/phpseclib/phpseclib/phpseclib:.:/usr/share/php:/usr/share/pear:/var/www/piwik/vendor/bin:/var/www/piwik/core:/var/www/piwik/libs:/var/www/piwik/plugins') in /var/www/piwik/tests/PHPUnit/bootstrap.php on line 38

libs/PiwikTracker/PiwikTracker.php is really missing…


(Tassoman) #2

Well i was missing


./console development:enable
./console git:pull

That command would download needed submodules also. So you can run tests flawless.