Bonjour
Je suis le tuto sur travis, mais j'ai un manque d'info.
je ne comprends pas s'il faut installer cakephp et mettre le plugin a l'interieur du repertoire adhoc
ou on peut lancer directement
cake test Upload Model/Behavior/UploadBehavior
en lancant j'ai plusieurs erreurs.
../minilab/Console/cake cake test Upload Model/Behavior/UploadBehavior
Error: Shell class CakeShell could not be found.
#0 /Sites/Vendor/cakephp/cakephp/lib/Cake/Console/ShellDispatcher.php(200): ShellDispatcher->_getShell('cake')
#1 /Sites/Vendor/cakephp/cakephp/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()
#2 /Sites/minilab/Console/cake.php(48): ShellDispatcher::run(Array)
#3 {main}
:CakePHP-Upload sylvain$ ../minilab/Console/cake test Upload Model/Behavior/UploadBehavior
Warning Error: include(PHPUnit/Autoload.php): failed to open stream: No such file or directory in [/Sites/Vendor/cakephp/cakephp/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 162]
Warning Error: include(): Failed opening 'PHPUnit/Autoload.php' for inclusion (include_path='/.composer/vendor/phpunit/phpunit:/Sites:/Sites/Vendor/cakephp/cakephp/lib:.:/opt/local/lib/php54/share/pear') in [/Sites/Vendor/cakephp/cakephp/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 162]
Error: Please install PHPUnit framework v3.7 (http://www.phpunit.de)
#0 /Sites/Vendor/cakephp/cakephp/lib/Cake/Console/ShellDispatcher.php(208): TestShell->initialize()
#1 /Sites/Vendor/cakephp/cakephp/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()
#2 /Sites/minilab/Console/cake.php(48): ShellDispatcher::run(Array)
#3 {main}