سؤال

I am trying to run the default testcase of laravel 4 for an app. Phpunit works when I explicitly mention the testfile path but doesn't seem to work otherwise, furthermore it returns 255 code when I try to run Phpunit only.

enter image description here

Any idea?

لا يوجد حل صحيح

نصائح أخرى

Checkout your phpunit.xml file, there you will find bootstrap path to autoloader.

Are you using global PHPUNit framework or you are using local (installed with composer) ?

I created my vim mapping so it is pointing always to current file:

nmap ,t :!clear && phpunit %<esc>
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top