PHP unit is skipping all of its tests when running. I am running a development environment. Here is my environment:
- Windows 7 Pro 64bit
- Apache 2.4
- PHP 5.4.4
- PHPUnit 3.7.0
- Selenium 1.2.8
- Yii 1.1.10
Everytime I run the functional (or any tests) for Yii, I get the following output.
C:\xampp\htdocs\mm\protected\tests>phpunit --verbose functional
PHPUnit 3.7.0 by Sebastian Bergmann.
Configuration read from C:\xampp\htdocs\mm\protected\tests\phpunit.xml
SSSSSS
Time: 12 seconds, Memory: 3.50Mb
There were 6 skipped tests:
1) SiteTest::testIndex
Could not connect to the Selenium Server on localhost:4444.
C:\xampp\php\phpunit:46
2) SiteTest::testContact
Could not connect to the Selenium Server on localhost:4444.
C:\xampp\php\phpunit:46
3) SiteTest::testLoginLogout
Could not connect to the Selenium Server on localhost:4444.
C:\xampp\php\phpunit:46
4) SiteTest::testIndex
Could not connect to the Selenium Server on localhost:4444.
C:\xampp\php\phpunit:46
5) SiteTest::testContact
Could not connect to the Selenium Server on localhost:4444.
C:\xampp\php\phpunit:46
6) SiteTest::testLoginLogout
Could not connect to the Selenium Server on localhost:4444.
C:\xampp\php\phpunit:46
OK, but incomplete or skipped tests!
Tests: 6, Assertions: 0, Skipped: 6.
C:\xampp\htdocs\mm\protected\tests>
Note: Never received the could not connect to Selenium server before and didn't change a thing. Still posting this question and investigating.
Thanks for your help!