Skip to content

Tool that can generate skeleton test classes from production code classes and vice versa.

License

Notifications You must be signed in to change notification settings

rhavin/phpunit-skelgen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPUnit Skeleton Generator

phpunit-skelgen is a tool that can generate skeleton test classes from production code classes and vice versa.

Installation

Composer

Simply add a dependency on rhavin/phpunit-skelgen to your project's composer.json file if you use Composer to manage the dependencies of your project. Here is a minimal example of a composer.json file that just defines a development-time dependency on phpunit/phpunit-skeleton-generator:

"require-dev": {
    "phpunit/phpunit": "^11",
    "rhavin/phpunit-skelgen": "dev-master"
},
"repositories": [
    {
        "type": "vcs",
        "url":  "git@github.com:rhavin/phpunit-skelgen.git"
    }
]

For a system-wide installation via Composer, you can run:

composer global require "rhavin/phpunit-skelgen=dev-master"

Make sure you have ~/.composer/vendor/bin/ in your path.

About

Tool that can generate skeleton test classes from production code classes and vice versa.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%