Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.56 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.56 KB

QA-Tools / PHPUnit Example

Example of using the QA-Tools library with PHPUnit and Selenium.

Asking Questions

Feel free to ask any questions and share your experiences in the Chat Room and help to improve the documentation.

Usage

  1. 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 (replace selenium-server-standalone-X.Y.Z.jar with downloaded file name)
  1. go to location of cloned repository
  2. execute this command to run the tests: ./vendor/bin/phpunit

Installation

  1. download "Selenium Standalone Server" from http://www.seleniumhq.org/download/ url
  2. clone this repository into phpunit-example sub-folder in the DocumentRoot of your Web Server
  3. execute this command to install dependencies: php composer.phar install
  4. confirm, that Example Application in web folder can be opened by going to the http://localhost/phpunit-example/web/ url (replace localhost with your domain)

Requirements

Contributing

See CONTRIBUTING file.

License

QA-Tools / PHPUnit Example is released under the BSD-3-Clause License. See the bundled LICENSE file for details.