etiennemarais / outline-laravel by etiennemarais

Service provider for outline test generator
30
0
2
Package Data
Maintainer Username: etiennemarais
Maintainer Contact: hello@etiennemarais.co.za (Etienne Marais)
Package Create Date: 2016-01-18
Package Last Update: 2016-02-04
Language: PHP
License: GPL-3.0
Last Refreshed: 2024-12-22 03:16:37
Package Statistics
Total Downloads: 30
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

outline-laravel

Parse and generate API Blueprint markdown into Feature/Acceptance tests wrapper for laravel/lumen to use in your apps.

NOTE

This project is still very opinionated about how it parses api blueprint documents and is built entirely for a single use case

TODO

  • I will continue to build this out over time to accept any format of api blueprint document and generate acceptance tests for them

Example usage

Add the Service provider to your app. If you are using laravel, add this line in your config/app.php:

\OutlineLaravel\OutlineLaravelServiceProvider::class

If you are using lumen, add this line in your bootstrap/app.php:

 $app->register(\OutlineLaravel\OutlineLaravelServiceProvider::class);

You will be able to run the command in your command prompt.

php artisan outline:regenerate

NOTE: This assumes that you have connected your apiary document to your github account, or have a .apib file in your project root. You can check out Apiary here. It is a really good tool to quickly spec API endpoints in a standardised format.