This package is abandoned and no longer maintained. No replacement package was suggested.

Zend Framework 2 module for atoum unit testing framework

dev-master 2014-03-25 14:58 UTC

This package is not auto-updated.

Last update: 2020-09-18 18:40:51 UTC


Zend Framework 2 module for Atoum unit testing framework

For now, we can just run tests for all modules in ./module


1 - With composer

    "require": {
        "bfolliot/zf-atoum": "dev-master"

In most of the cases you don't need ZfAtoum in your production environment.

    "require-dev": {
        "bfolliot/zf-atoum": "dev-master"

2 - Command

ZfAtoum is provided with a Zend Framework console route.

2-a Registering in your application

Enabling it in your application.config.phpfile.

return array(
    'modules' => array(
        // ...
    // ...

2-c Command-line usage

Then you can use:

$ php ./public/index.php atoum # launch tests for your module (in ./module)