im have PHP application with composer psr-4 autoloader from src folder placed in root folder.
Also i have codeception bootstrapped in app root folder also.
In codeception manual i have learned to use
php codecept.phar generate:phpunit unit Classname for generating unit test class
But i am want just run like
php codecept.phar generate:phpunit unit "SomeVendor\SomeSubSystem\Class"
for my class placed in src/SomeVendor/SomeSubSystem/Class.php and i am want to have generated test class with all methods like in PHPUnit skeleton generator
phpunit-skelgen --test -- "project\Calculator" Calculator.php
absolutely no idea how make it with codeception, no information found in codeception manual, please help
Aucun commentaire:
Enregistrer un commentaire