QA-Tools usage example in PHPUnit test cases
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
tests
views
web
.gitignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
composer.json
composer.lock
phpunit.xml.dist

README.md

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.