mikelgoig/codeception-openapi
最新稳定版本:2.2.1
Composer 安装命令:
composer require --dev mikelgoig/codeception-openapi
包简介
Codeception module for contract testing with OpenAPI.
README 文档
README
Codeception Module for contract testing with OpenAPI
Created by Mikel Goig.
This Codeception module provides you with actions to validate API requests and responses with an OpenAPI Specification.
It requires REST and Symfony modules.
It supports Gherkin format.
😎 Installation
-
Install this package using Composer:
composer require --dev mikelgoig/codeception-openapi
🛠️ Configuration
-
Add the Codeception module to your config file:
modules: enabled: - MikelGoig\Codeception\Module\OpenApi: depends: [ REST, Symfony ] openapi: path/to/openapi.yaml multipart_boundary: foo
openapi- the path of the OpenAPI filemultipart_boundaryoptional - the boundary parameter for multipart requests
-
To set up Gherkin steps, enable the
gherkinpart of the module:modules: enabled: - MikelGoig\Codeception\Module\OpenApi: # ... part: gherkin
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-09