josborne/phpspec-lumen

Test your Lumen applications with PhpSpec
213
Install
composer require josborne/phpspec-lumen
Latest Version:v2.0.0
License:MIT
Last Updated:Feb 10, 2016
Links: GitHub  ·  Packagist
Maintainer: pmartelletti

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.

Related Packages

rennokki/api-sleigh

API Sleigh is an useful module for basic Laravel/Lumen TestCase which adds a bet...

0 3
benconstable/phpspec-laravel

Test your Laravel applications with PhpSpec

353,646 144
albertcht/lumen-testing

Testing Suite For Lumen like Laravel does.

35,944 43
unicorn/lumen-testing

Testing Suite For Lumen like Laravel does.

2,196 0