Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paul-thebaud/phpunitgen-console
PhpUnitGen is a command line tool to generate your unit tests' skeletons on your projects.
https://github.com/paul-thebaud/phpunitgen-console
Last synced: 4 months ago
JSON representation
PhpUnitGen is a command line tool to generate your unit tests' skeletons on your projects.
- Host: GitHub
- URL: https://github.com/paul-thebaud/phpunitgen-console
- Owner: paul-thebaud
- License: mit
- Archived: true
- Created: 2019-06-04T17:14:25.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T20:48:38.000Z (10 months ago)
- Last Synced: 2024-09-22T17:08:11.958Z (5 months ago)
- Language: PHP
- Homepage: https://phpunitgen.io
- Size: 184 KB
- Stars: 33
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## :warning: PhpUnitGen end of life
After 7 years of existence, PhpUnitGen is not maintained anymore.
[Read the post](https://github.com/paul-thebaud/phpunitgen-core/issues/32)## Installation
The CLI tool can be installed using:
```bash
composer require --dev phpunitgen/console
```Detailed information and webapp version are available at
[https://phpunitgen.io](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](https://phpunitgen.io). If you want to see the core code, you should
> go on [core package](https://github.com/paul-thebaud/phpunitgen-core).PhpUnitGen is an online and command line tool to generate your unit tests'
skeletons on your projects.- [How does it work?](https://phpunitgen.io/docs#/en/how-does-it-work)
- [Configuration](https://phpunitgen.io/docs#/en/configuration)
- [Web application](https://phpunitgen.io/docs#/en/webapp)
- [Command line](https://phpunitgen.io/docs#/en/command-line)
- [Advanced usage](https://phpunitgen.io/docs#/en/advanced-usage)### 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 generationPhpUnitGen 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](https://tree.taiga.io/project/paul-thebaud-phpunitgen/kanban).## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for more details.
Informal discussion regarding bugs, new features, and implementation of
existing features takes place in the
[Github issue page of Core repository](https://github.com/paul-thebaud/phpunitgen-core/issues).## Credits
- [Paul Thébaud](https://github/paul-thebaud)
- [Killian Hascoët](https://github.com/KillianH)
- [Charles Corbel](https://dribbble.com/CorbelC)
- [All Contributors](https://github.com/paul-thebaud/phpunitgen-core/graphs/contributors)## License
PhpUnitGen is an open-sourced software licensed under the
[MIT license](https://opensource.org/licenses/MIT).