Example of using the QA-Tools library with PHPUnit and Selenium.
Feel free to ask any questions and share your experiences in the Chat Room and help to improve the documentation.
- if "Selenium Standalone Server" isn't running do this to start it:
- go to folder, where it was downloaded previously (see Installation)
- execute this command:
java -jar selenium-server-standalone-X.Y.Z.jar(replaceselenium-server-standalone-X.Y.Z.jarwith downloaded file name)
- go to location of cloned repository
- execute this command to run the tests:
./vendor/bin/phpunit
- download "Selenium Standalone Server" from http://www.seleniumhq.org/download/ url
- clone this repository into
phpunit-examplesub-folder in the DocumentRoot of your Web Server - execute this command to install dependencies:
php composer.phar install - confirm, that Example Application in
webfolder can be opened by going to the http://localhost/phpunit-example/web/ url (replacelocalhostwith your domain)
See CONTRIBUTING file.
QA-Tools / PHPUnit Example is released under the BSD-3-Clause License. See the bundled LICENSE file for details.