Skip to content

CleatSquad/php-unit-tests-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

php Unit Generator

This package allows you to generate unit tests. This package is recommended for magento 2.

Badges

Latest Stable Version Total Downloads Latest Unstable Version License

Getting Started

Installing

Add dependency

composer require cleatsquad/php-unit-tests-generator --dev

Examples

You can use it to generate tests for all classes in a folder

bin/magento dev:unit:test-generate /app/code/Vendor/Module/pathtest-generate

Or use it for a specified file

bin/magento dev:unit:test-generate /app/code/Vendor/Module/path/to/file.php

Examples

@todo add origin class and generated test

Authors

  • Mohamed El Mrabet - Initial work - mimou78

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages