Create unit tests for classes.
Current restrictions:
- Only works with pure methods.
- Classes and functions that tests are to be generated for must be included.
See tests/PHPUnitTestCreator.json for example config file. Note config file must be named "PHPUnitTestCreator.json" and be in the same directory that you generate your tests.
Via Composer
$ composer require kdaviesnz/PHPUnitTestCreator
See test.php file.
Please see CHANGELOG.md for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING.md and CODE_OF_CONDUCT.md for details.
If you discover any security related issues, please email kdaviesnz@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see LICENSE.md for more information.