brunty/phpspec-skip-work-in-progress-extension

This package is abandoned and no longer maintained. No replacement package was suggested.

Skips PhpSpec examples & specs that are tagged as a work-in-progress.

v0.1.0 2016-10-31 21:40 UTC

This package is auto-updated.

Last update: 2022-02-01 13:02:34 UTC


README

Build Status SensioLabsInsight

Compatibility

PhpSpec 3.0 and above

Install

Run the following command:

$ composer require brunty/phpspec-skip-work-in-progress-extension

Usage

Add a @wip annotation to a docblock for the example you're working on.

class MultiplierSpec extends ObjectBehavior
{
    /**
     * This will be skipped as the example is marked as work-in-progress
     *
     * @wip
     */
    function it_multiplies_two_numbers_together()
    {
    }

    // This will not be skipped as the example and spec are not marked as work-in-progress
    function it_multiplies_three_numbers_together()
    {
    }
}

Contributing

Although this project is small, openness and inclusivity are taken seriously. To that end the following code of conduct has been adopted.

Contributor Code of Conduct