Skip to content

qa-tools/phpunit-example

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.

About

QA-Tools usage example in PHPUnit test cases

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published