Skip to content

Make Codeception's functional tests for CodeIgniter applications

License

Notifications You must be signed in to change notification settings

luka-zitnik/CodeIgniterModule

Repository files navigation

CodeIgniter Module

Build Status

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.

About

Make Codeception's functional tests for CodeIgniter applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published