I want to run a phpunit test on my local windows machine..(using wamp)..
I have globally installed composer..And phpunit is installed on my local directory..
Folder Structure..
_________tests
| |
| |______PagesTest.php
|
|________vendor
|
|______bin
|
|_____phpunit
On my localroot(www)..I have created a phpunit.xml file..
<?xml version="1.0" encoding="UTF-8"?>
<phpunit convertWarningsToExceptions="true"
convertNoticesToExceptions="true"
convertErrorsToExceptions="true"
backupStaticAttributes="false"
processIsolation="false"
stopOnFailure="false"
backupGlobals="false"
syntaxCheck="false"
colors="true">
<testsuites>
<testsuite name="Punta Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
On Cmd I tried:
C:\wamp\www\vendor\bin>phpunit PagesTest
The output is
Cannot open file PagesTest.php
And I have no idea how can i run this PagesTest.php file using composer