Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 7 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 month ago)
- Default Branch: main
- Last Pushed: 2025-01-17T12:06:02.000Z (10 days ago)
- Last Synced: 2025-01-17T12:57:19.278Z (10 days ago)
- Topics: codeception, dev, gherkin, rest, testing
- Language: PHP
- Homepage: https://packagist.org/packages/mikelgoig/codeception-rest
- Size: 46.9 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.---
[![Packagist Version](https://img.shields.io/packagist/v/mikelgoig/codeception-rest)](https://packagist.org/packages/mikelgoig/codeception-rest)
[![Packagist Downloads](https://img.shields.io/packagist/dt/mikelgoig/codeception-rest)](https://packagist.org/packages/mikelgoig/codeception-rest/stats)
[![Packagist PHP Version](https://img.shields.io/packagist/dependency-v/mikelgoig/codeception-rest/php)](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
```