phpunit testing cannot find file and cannot test globally

Posted 8 months ago by Webiondev123

I am unable to run phpunit test from root folder but when I change to vender/bin I can run phpunit but cannot test. It says cannot open file

'phpunit' is not recognized as an internal or external command,
operable program or batch file.

c:\wamp64\www\fundtheneedy\vendor\bin>phpunit ExampleTest

Cannot open file "ExampleTest.php".

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.