Coder Social home page Coder Social logo

rsanchez-forks / phpunit-skeleton-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sebastianbergmann/phpunit-skeleton-generator

0.0 2.0 0.0 123 KB

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

Home Page: http://phpunit.de/

License: Other

PHP 100.00%

phpunit-skeleton-generator's Introduction

This project has been abandoned and is no longer maintained.

PHPUnit Skeleton Generator

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

Installation

PHP Archive (PHAR)

The easiest way to obtain phpunit-skelgen is to download a PHP Archive (PHAR) that has all required dependencies of phpunit-skelgen bundled in a single file:

wget https://phar.phpunit.de/phpunit-skelgen.phar
chmod +x phpunit-skelgen.phar
mv phpunit-skelgen.phar /usr/local/bin/phpunit-skelgen

You can also immediately use the PHAR after you have downloaded it, of course:

wget https://phar.phpunit.de/phpunit-skelgen.phar
php phpunit-skelgen.phar

Composer

Simply add a dependency on phpunit/phpunit-skeleton-generator 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-skeleton-generator": "*"
    }
}

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

composer global require "phpunit/phpunit-skeleton-generator=*"

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

phpunit-skeleton-generator's People

Contributors

sebastianbergmann avatar infopactmloos avatar melvinloos avatar remicollet avatar edorian avatar tcpiptan avatar

Watchers

Rob Sanchez avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.