Skip to content

PhpUnitGen is a command line tool to generate your unit tests' skeletons on your projects.

License

Notifications You must be signed in to change notification settings

relaypilot/phpunitgen-console

 
 

Repository files navigation

PhpUnitGen

Total Downloads Latest Stable Version Build Status StyleCI Quality Gate Status Coverage

Installation

The CLI tool can be installed using:

composer require --dev phpunitgen/console

Detailed information and webapp version are available at https://phpunitgen.io.

About PhpUnitGen

Note: this repository contains the console code of PhpUnitGen. If you want to use the tool on your browser, you can go on the webapp. If you want to see the core code, you should go on core package.

PhpUnitGen is an online and command line tool to generate your unit tests' skeletons on your projects.

Key features

  • Generates tests skeletons for your PHP classes
  • Binds with Laravel "make" command
  • Generates class instantiation using dummy parameters or mocks
  • Adapts to PHPUnit or Mockery mocks generation

PhpUnitGen is not meant to generate your tests content but only the skeleton (except for getters/setters).

This is because inspecting your code to generate the appropriate test is way too complex, and might result in missing some of the code's features or marking them as "passed unit test" even if it contains errors.

Roadmap

You can track the tasks we plan to do on our Taiga.io project.

Contributing

Please see CONTRIBUTING for more details.

Informal discussion regarding bugs, new features, and implementation of existing features takes place in the Github issue page of Core repository.

Credits

License

PhpUnitGen is an open-sourced software licensed under the MIT license.

About

PhpUnitGen is a command line tool to generate your unit tests' skeletons on your projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 98.8%
  • Makefile 1.1%
  • Dockerfile 0.1%