PhpUnit Selenium PhantomJS Integration Testing
Required PHP 5.6 - earlier versions of PHPUnit and phpunit-selenium aren't terribly good
vagrant up
./test.sh
- New tab:
composer test
- Success!
- phantomjs has some bugs
- https://github.com/giorgiosironi/phpunit-selenium/blob/master/Tests/Selenium2TestCaseTest.php is very very useful
- http://apigen.juzna.cz/doc/sebastianbergmann/phpunit-selenium/class-PHPUnit_Extensions_Selenium2TestCase.html is very very useful