unicorn/lumen-testbench-core
Composer 安装命令:
composer require --dev unicorn/lumen-testbench-core
包简介
Lumen fork of orchestra/testbench-core - Testing Helper for Lumen Development
README 文档
README
Lumen compatible fork of orchestra/testbench-core
Testing Helper for Laravel Development
Testbench Component is a simple package that has been designed to help you write tests for your Laravel package.
Version Compatibility
| Laravel | Testbench Core |
|---|---|
| 5.4.x | 3.4.x |
| 5.5.x | 3.5.x |
| 5.6.x | 3.6.x |
| 5.7.x | 3.7.x |
| 5.8.x | 3.8.x |
| 6.x | 4.x |
| 7.x | 5.x |
Usage
Testbench Core is being built to enable Laravel Framework to build and run integration tests for the framework itself. For package developers please use any of the following testbench projects:
Testbench
It loads Laravel apps and enable you to run artisan commands, migrations, factories and basic routing from within your tests.
Testbench BrowserKit
It extends Testbench and allows you to interact with views using CSS selectors (interacting with form, button, link etc) but without JavaScript being loaded.
Testbench Dusk
It extends Testbench and allows you to interact with views using CSS selectors (interacting with form, button, link etc). By loading the pages using Google Chrome it enable you to interacts with JavaScript powered content.
unicorn/lumen-testbench-core 适用场景与选型建议
unicorn/lumen-testbench-core 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.23k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 10 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「testing」 「BDD」 「TDD」 「laravel」 「orchestra-platform」 「orchestral」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 unicorn/lumen-testbench-core 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 unicorn/lumen-testbench-core 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 unicorn/lumen-testbench-core 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Helper that decorates any SUS with a phpspec lazy object wrapper
Behat Context for testing Symfony Api
Provides access to magento2 object manager from behat and allows to change magento config settings temporarly
Testing Suite For Lumen like Laravel does.
The PHP SDK for Checkmango
Specification-oriented BDD helpers for PHPUnit
统计信息
- 总下载量: 1.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-30