library phpunit-extension
QA-Tools extension for PHPUnit
qa-tools/phpunit-extension
QA-Tools extension for PHPUnit
- Sunday, October 18, 2015
- by aik099
- Repository
- 1 Watchers
- 0 Stars
- 4,239 Installations
- PHP
- 0 Dependents
- 1 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 5 % Grown
, (*1)
Extension to use QA-Tools library with PHPUnit., (*2)
Asking Questions
Feel free to ask any questions and share your experiences in the Chat Room and help to improve the documentation., (*3)
Usage
- when creating unit test class sub-class the base test case class (see Installation)
- use
$this->pageFactory
to get page factory instance associated with current Mink session
- see more usage examples at https://github.com/qa-tools/phpunit-example
Installation
- run this command to add Composer dependencies:
php composer.phar require qa-tools/phpunit-extension --dev
- create base class for all unit tests by sub-classing
\QATools\PHPUnitExtension\AbstractQAToolsTestCase
- take a look at provided
\QATools\PHPUnitExtension\AbstractQAToolsTestCase::getBrowserAliases
method (change in sub-class if needed) to find out what default browser is used
Requirements
Contributing
See CONTRIBUTING file., (*4)
License
QA-Tools / PHPUnit Extension is released under the BSD-3-Clause License. See the bundled LICENSE file for details., (*5)
dev-master
9999999-dev
QA-Tools extension for PHPUnit
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
by
Alexander Obuhovich
v1.0.0
1.0.0.0
QA-Tools extension for PHPUnit
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
by
Alexander Obuhovich