I have installed phpunit in a wamp server using pear in the following directory structure C:\Easy-PHP\pear\PHPUnit.
PHPUnit runs fine, I can run it from globally i.e. c:\phpUnit
My question is how do I run tests from within directories?
For example:
I have classes to be tested in c:\Users\j.bloggs\workspace\assets\project-name\classes\myClass.php
I have tests in c:\Users\j.bloggs\workspace\assets\project\tests\myClassTest.php
How do I set up using PHPUnit to run tests in this way? I have seen information on phpunit.xml and bootstrap.php, how do I implement these? I have not found anything clear on this.
Thanks for any help.