mem-memov / unit-robot
Automated unit test creation
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.1
Requires (Dev)
- phpunit/phpunit: ^6.3
This package is auto-updated.
Last update: 2025-01-12 22:01:20 UTC
README
Automated unit test creation
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' ];