yireo / magento2-test-generator
N/A
Installs: 86
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Type:magento2-module
Requires
- magento/framework: ^101.0.1|^101.1|^102.0|^103.0
- nette/php-generator: ^4.1
- nette/utils: ^4.0
This package is auto-updated.
Last update: 2024-10-25 07:06:34 UTC
README
Use this module to kickstart unit tests or integration tests for your existing module.
Installation
composer require yireo/magento2-test-generator bin/magento module:enable Yireo_TestGenerator
Usage
Generate integration tests for the module Yireo_Example
if they don't exist yet:
bin/magento yireo:test:generate Yireo_Example
Or generate integration tests, overriding existing tests as well (DANGEROUS):
bin/magento yireo:test:generate Yireo_Example --override-existing=1
Or generate unit tests:
bin/magento yireo:test:generate Yireo_Example --type=unit