luka-zitnik / code-igniter-module
Make Codeception's functional tests for CodeIgniter applications
Installs: 4 840
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 6
Forks: 4
Open Issues: 2
Requires
- php: >=5.4.0
- ext-runkit: *
Requires (Dev)
- codeception/codeception: ^2.2
- codeigniter/framework: ^3.1
- flow/jsonpath: ^0.3.1
This package is not auto-updated.
Last update: 2024-12-21 21:25:29 UTC
README
This is a Codeception module that enables you to make Codeception's functional tests for CodeIgniter applications.
Installation
Add a dev dependancy on luka-zitnik/code-igniter-module
to your project's
composer.json
and enable it as a Codeception module, from a test suite
configuration file.
composer require --dev luka-zitnik/code-igniter-module
class_name: FunctionalTester modules: enabled: - REST: depends: CodeIgniter - CodeIgniter: index: public/index.php
Caveat
You will not be able to test execution paths that terminate with an exit
statement
using this module. More informingly, the separate thread that your AUT will run
in will close without leaving you the opportunity to collect output or response
header. If you need this fixed or if you just want to talk about it, drop me a
line.