josborne/phpspec-lumen
Composer 安装命令:
composer require --dev josborne/phpspec-lumen
包简介
Test your Lumen applications with PhpSpec
README 文档
README
This simply takes all the awesome work done by Ben Constable with his phpspec-laravel repo and makes it work with Laravel's new micro-framework, Lumen.
For most details you'll want to check out the original repo readme: https://github.com/BenConstable/phpspec-laravel
What's different
Aside from obvious things like the different package name, you'll want to update your phpspec.yml like so:
extensions: - PhpSpec\Lumen\Extension\LumenExtension
And instead of extending your specs from LaravelObjectBehavior you'll do so instead from LumenObjectBehavior.
统计信息
- 总下载量: 213
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-10