levinine / codecept-slim4
Codeception Module for Slim 4 Microframework.
dev-master
2020-08-26 12:11 UTC
Requires
- php: >=7.1
Requires (Dev)
- php: >=7.1
- codeception/codeception: ^4.1
- codeception/lib-innerbrowser: ^1.3
- phpro/grumphp: ^0.20
- phpstan/phpstan: ^0.12
- psr/http-message: ^1.0
- slim/psr7: ^1.0
- slim/slim: ^4.0
- symplify/easy-coding-standard: ^8.2
This package is auto-updated.
Last update: 2025-03-26 22:41:31 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