phpunit/phpunit-selenium
Composer 安装命令:
composer require --dev phpunit/phpunit-selenium
包简介
Selenium Server integration for PHPUnit
README 文档
README
This package contains a Selenium2TestCase class that can be used to run end-to-end tests against Selenium 2.
Installing
Use Composer and run composer require --dev phpunit/phpunit-selenium.
Requirements
- Version
9.xsupports PHPUnit 9.x and is compatible with PHP 7.3+ - Version
8.xsupports PHPUnit 8.x and is compatible with PHP 7.2+ - Version
7.xsupports PHPUnit 7.x and is compatible with PHP 7.1+
Older unsupported lines which will probably see no new releases:
4.xmainline supports (only) PHPUnit 6.x. This version is only compatible with PHP 73.x: supports PHPUnit 5.x. Only compatible with PHP 5.6 and PHP 7.2.x: supports PHPUnit >= 4.8 instead.
Both these supported lines only work with the Selenium 2 API, using the Selenium2TestCase class.
The old line 1.x is not maintained anymore, but will continue to be available for usage of SeleniumTestCase.
Please direct pull requests to giorgiosironi/phpunit-selenium for automated testing upon merging. Pull requests should be feature branches containing all the commits you want to propose.
Running the test suite
Via Vagrant
Just run the following Vagrant commands (a minimal version of v1.7 is required) and everything will be set up for you. The first start will take some time which depends on the speed of your connection (and less - speed of your computer):
vagrant up
vagrant provision
vagrant ssh
cd /vagrant
vendor/bin/phpunit Tests
phpunit/phpunit-selenium 适用场景与选型建议
phpunit/phpunit-selenium 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 11.06M 次下载、GitHub Stars 达 596, 最近一次更新时间为 2012 年 09 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「testing」 「phpunit」 「selenium」 「xunit」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 phpunit/phpunit-selenium 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 phpunit/phpunit-selenium 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 phpunit/phpunit-selenium 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
HiDev plugin for PHPUnit
Testing Suite For Lumen like Laravel does.
A cli tool which generates unit tests.
Selenium4 (WebDriver) driver for Mink framework
PHP Library for Selenium
Selenium driver for Mink framework
统计信息
- 总下载量: 11.06M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 611
- 点击次数: 29
- 依赖项目数: 181
- 推荐数: 1
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2012-09-18