mem-memov/unit-robot

Automated unit test creation

v1.0.0 2017-08-23 08:38 UTC

This package is auto-updated.

Last update: 2024-09-12 21:16:19 UTC


README

Automated unit test creation

Build Status

To install via Composer:

composer require --dev mem-memov/unit-robot

To prepare tests for every class:

./bin/unit-robot

To prepare a test for one class:

./bin/unit-robot --class="MemMemov\UnitRobot\UnitTest\Builder\PhpDeclaration"

Put source and test directories into the config file:

unit-robot.config.php

<?php
return [
    'sourcePath' => __DIR__.'/src',
    'testPath' => __DIR__.'/test'
];