levinine/codecept-slim4

Codeception Module for Slim 4 Microframework.

Installs: 302

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/levinine/codecept-slim4

dev-master 2020-08-26 12:11 UTC

This package is auto-updated.

Last update: 2025-09-26 23:41:39 UTC


README

This module allows you to run tests inside Slim 4 Microframework.

Install

Via commandline:

composer require --dev levinine/codecept-slim4

Config

Make sure to have config.test.yml file containing your test configuration in the root of your Slim project.

Enable module with depends, eg in tests/functional.suite.yml

modules:
  enabled:
    - \Helper\Functional
    - REST:
        depends: \Levinine\CodeceptSlim4\Module\Slim4

Develop

If on commit ECS check fails, execute:

vendor/bin/ecs check src --fix