It's been a while since I have worked with a windows environment, and unfortunately stuff that's built for unix (ie. PHPUnit) doesn't play very nicely with a Windows environment. Take for example, the ability to run all the tests in a directory. In Ubuntu, I just had to type:
#phpunit test
to run all my tests in the the test folder. However, when I do this in windows, phpunit did not run. At first I thought it had to do with the way the path seperators are different between Windows / Unix, but I found out that is actually NOT the reason. It turns out that phpunit needs Xdebug (http://xdebug.org/download.php) in order for it to run multiple tests at the same time. So if you're a Windows user and wish to run multiple tests, download Xdebug first.
No comments:
Post a Comment