kdaviesnz/phpunittestcreator

Create unit tests for classes.

Installs: 26

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/kdaviesnz/phpunittestcreator

1.0.5 2018-06-02 21:24 UTC

This package is not auto-updated.

Last update: 2025-09-29 03:26:47 UTC


README

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