mikelgoig/codeception-rest

Codeception module for testing REST services.

3.3.1 2025-01-18 19:20 UTC

This package is auto-updated.

Last update: 2025-05-18 20:21:38 UTC


README

Codeception Module for testing REST services

Created by Mikel Goig.

View Repository

Packagist Version Packagist Downloads Packagist PHP Version

This Codeception module provides you with actions for testing REST services.

It extends the Codeception's official REST module, adding some helpers and Gherkin format support.

😎 Installation

  1. Install this package using Composer:

    composer require --dev mikelgoig/codeception-rest

🛠️ Configuration

  1. Add the Codeception module to your config file:

    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:

    modules:
      enabled:
        - MikelGoig\Codeception\Module\Rest:
            # ...
            part: gherkin