Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paul-thebaud/phpunitgen-core
PhpUnitGen is a PHP tool to generate your unit tests' skeletons on your projects.
https://github.com/paul-thebaud/phpunitgen-core
Last synced: 4 months ago
JSON representation
PhpUnitGen is a PHP tool to generate your unit tests' skeletons on your projects.
- Host: GitHub
- URL: https://github.com/paul-thebaud/phpunitgen-core
- Owner: paul-thebaud
- License: mit
- Archived: true
- Created: 2019-06-04T17:13:12.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T20:48:47.000Z (10 months ago)
- Last Synced: 2024-11-03T05:22:15.750Z (4 months ago)
- Language: PHP
- Homepage: https://phpunitgen.io
- Size: 574 KB
- Stars: 29
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
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 core 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 use the tool on your console,
> you can install the
> [command line package](https://github.com/paul-thebaud/phpunitgen-console).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).