Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    grunt-phpspecpublic

    grunt-phpspec Build Status

    Grunt plugin for running PHPSpec.

    This plugin is developed for Grunt 0.4.1 and is not tested for backward compatibility with Grunt 0.3.x.

    Getting Started

    1. Install this grunt plugin with the following command:

      npm install grunt-phpspec --save-dev
    2. Install PHPSpec (preferably with composer)

    3. Add this to your project's Gruntfile.js gruntfile:

      grunt.loadNpmTasks('grunt-phpspec');

    PHPSpec task

    Run this task with the grunt phpspec command.

    This task is a multi task so any targets, files and options should be specified according to the multi task documentation.

    Usage Example

    phpspec: {
        app: {
            specs: 'specs/'
        },
        options: {
            prefix: 'bin/'
        }
    }

    Target Properties

    specs

    Type: String

    The directory where containing Specs to be run.

    Options

    prefix

    Type: String Default: ''

    Keywords

    none

    install

    npm i grunt-phpspec

    Downloadsweekly downloads

    11

    version

    0.0.3

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar