https://github.com/mikelgoig/codeception-rest
✔︎ Codeception module for testing REST services.
https://github.com/mikelgoig/codeception-rest
codeception dev gherkin rest testing
Last synced: 5 days ago
JSON representation
✔︎ Codeception module for testing REST services.
- Host: GitHub
- URL: https://github.com/mikelgoig/codeception-rest
- Owner: mikelgoig
- Created: 2024-12-18T19:10:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-18T19:20:40.000Z (12 months ago)
- Last Synced: 2025-10-20T04:53:31.755Z (3 months ago)
- Topics: codeception, dev, gherkin, rest, testing
- Language: PHP
- Homepage: https://packagist.org/packages/mikelgoig/codeception-rest
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Codeception Module for testing REST services
Created by Mikel Goig.
---
[](https://packagist.org/packages/mikelgoig/codeception-rest)
[](https://packagist.org/packages/mikelgoig/codeception-rest/stats)
[](https://thephp.foundation)
**This Codeception module provides you with actions for testing REST services.**
It extends the Codeception's official [REST](https://codeception.com/docs/modules/REST) module, adding some helpers
and [Gherkin format](https://codeception.com/docs/BDD) support.
## 😎 Installation
1. Install this package using Composer:
```bash
composer require --dev mikelgoig/codeception-rest
```
## 🛠️ Configuration
1. Add the Codeception module to your config file:
```yml
modules:
enabled:
- MikelGoig\Codeception\Module\Rest:
depends: REST
multipart_boundary: foo
```
* `multipart_boundary` *optional* - the boundary parameter for multipart requests
2. To set up Gherkin steps, enable the `gherkin` part of the module:
```yml
modules:
enabled:
- MikelGoig\Codeception\Module\Rest:
# ...
part: gherkin
```