Mockery module for Codeception
PHP
Switch branches/tags
Clone or download
enumag Merge pull request #13 from kornrunner/master
composer: require mockery/mockery ~1
Latest commit d01f9d0 Oct 10, 2017

README.md

Mockery Module for Codeception

Integrates Mockery into Codeception tests.

Example (unit.suite.yml)

 modules:
    enabled: [Mockery]

Install

add into composer.json:

{
    "require-dev": {
        "codeception/codeception": "*",
        "codeception/mockery-module": "*"
    }
}

This will install Mockery itself + basic module that will invoke mockery verifications after each test.