定制 qa-tools/phpunit-extension 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

qa-tools/phpunit-extension

最新稳定版本:v1.0.0

Composer 安装命令:

composer require qa-tools/phpunit-extension

包简介

QA-Tools extension for PHPUnit

README 文档

README

Latest Stable Version Total Downloads License

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

  1. when creating unit test class sub-class the base test case class (see Installation)
  2. use $this->pageFactory to get page factory instance associated with current Mink session
  3. see more usage examples at https://github.com/qa-tools/phpunit-example

Installation

  1. run this command to add Composer dependencies: php composer.phar require qa-tools/phpunit-extension --dev
  2. create base class for all unit tests by sub-classing \QATools\PHPUnitExtension\AbstractQAToolsTestCase
  3. 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.

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
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-10-17