yireo/magento2-test-generator

N/A

Installs: 86

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 1

Type:magento2-module

0.0.2 2024-08-15 11:14 UTC

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