LaravelPackages.net
Acme Inc.
Toggle sidebar
josborne/phpspec-lumen

Test your Lumen applications with PhpSpec

213
0
v2.0.0
About josborne/phpspec-lumen

josborne/phpspec-lumen is a Laravel package for test your lumen applications with phpspec. It currently has 0 GitHub stars and 213 downloads on Packagist (latest version v2.0.0). Install it with composer require josborne/phpspec-lumen. Discover more Laravel packages by josborne or browse all Laravel packages to compare alternatives.

Last updated

phpspec Lumen Extension

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.

Comments