Skip to content

yireo/Yireo_TestGenerator

Repository files navigation

Yireo TestGenerator for Magento 2

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages