phpunit/phpunit-selenium 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

phpunit/phpunit-selenium

Composer 安装命令:

composer require --dev phpunit/phpunit-selenium

包简介

Selenium Server integration for PHPUnit

README 文档

README

PHPUnit-Selenium Build Status

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.x supports PHPUnit 9.x and is compatible with PHP 7.3+
  • Version 8.x supports PHPUnit 8.x and is compatible with PHP 7.2+
  • Version 7.x supports PHPUnit 7.x and is compatible with PHP 7.1+

Older unsupported lines which will probably see no new releases:

  • 4.x mainline supports (only) PHPUnit 6.x. This version is only compatible with PHP 7
  • 3.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 我们能提供哪些服务?
定制开发 / 二次开发

基于 phpunit/phpunit-selenium 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 11.06M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 611
  • 点击次数: 29
  • 依赖项目数: 181
  • 推荐数: 1

GitHub 信息

  • Stars: 596
  • Watchers: 46
  • Forks: 267
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2012-09-18