qa-tools/phpunit-extension
最新稳定版本:v1.0.0
Composer 安装命令:
composer require qa-tools/phpunit-extension
包简介
QA-Tools extension for PHPUnit
README 文档
README
Extension to use QA-Tools library with PHPUnit.
Asking Questions
Feel free to ask any questions and share your experiences in the Chat Room and help to improve the documentation.
Usage
- when creating unit test class sub-class the base test case class (see Installation)
- use
$this->pageFactoryto 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::getBrowserAliasesmethod (change in sub-class if needed) to find out what default browser is used
Requirements
Contributing
See CONTRIBUTING file.
License
QA-Tools / PHPUnit Extension is released under the BSD-3-Clause License. See the bundled LICENSE file for details.
统计信息
- 总下载量: 4.49k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-10-17