PHP code example of brunty / phpspec-skip-work-in-progress-extension

1. Go to this page and download the library: Download brunty/phpspec-skip-work-in-progress-extension library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

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


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()
    {
    }
}