etiennemarais/outline
Composer 安装命令:
composer create-project etiennemarais/outline
包简介
Parse and generate API Blueprint markdown into Feature/Acceptance tests.
README 文档
README
Parse and generate API Blueprint markdown into Feature/Acceptance tests
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
// Get the parser
$drafter = new \DrafterPhp\Drafter(__DIR__ . '/../vendor/bin/drafter');
// Build a new blueprint object
$apiBlueprint = new ApiBlueprint($drafter, __DIR__ . '/example.apib');
// Run the thing
(new Generator(new Transformer))
->with($apiBlueprint)
->outputTo(__DIR__ . '/generated_tests')
->generateTestsFor('lumen'); // Entirely only supports laravel style test output
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2016-01-15