Skip to content

kdaviesnz/PHPUnitTestCreator

Repository files navigation

PHPUnitTestCreator

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.

Install

Via Composer

$ composer require kdaviesnz/PHPUnitTestCreator

Usage

See test.php file.

Change log

Please see CHANGELOG.md for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING.md and CODE_OF_CONDUCT.md for details.

Security

If you discover any security related issues, please email kdaviesnz@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see LICENSE.md for more information.

PHPUnitTestCreator

About

Create unit tests for classes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages