https://github.com/qa-tools/phpunit-example
QA-Tools usage example in PHPUnit test cases
https://github.com/qa-tools/phpunit-example
Last synced: about 1 year ago
JSON representation
QA-Tools usage example in PHPUnit test cases
- Host: GitHub
- URL: https://github.com/qa-tools/phpunit-example
- Owner: qa-tools
- License: bsd-3-clause
- Created: 2014-08-18T08:33:04.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-06-26T09:14:12.000Z (almost 10 years ago)
- Last Synced: 2025-04-06T11:33:35.630Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 148 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# QA-Tools / PHPUnit Example
Example of using the [QA-Tools library](http://www.qa-tools.io) with [PHPUnit](https://phpunit.de/) and [Selenium](http://www.seleniumhq.org/).
## Asking Questions
Feel free to ask any questions and share your experiences in the [Chat Room](https://gitter.im/qa-tools/qa-tools) 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](#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)
2. go to location of cloned repository
3. execute this command to run the tests: `./vendor/bin/phpunit`
## Installation
1. download "Selenium Standalone Server" from [http://www.seleniumhq.org/download/](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/](http://localhost/phpunit-example/web/) url (replace `localhost` with your domain)
## Requirements
* [Java](https://java.com/download/)
* [Composer](https://getcomposer.org/download/)
## Contributing
See [CONTRIBUTING](CONTRIBUTING.md) file.
## License
QA-Tools / PHPUnit Example is released under the BSD-3-Clause License. See the bundled [LICENSE](LICENSE) file for details.