All Projects → akeneo → PhpSpecSkipExampleExtension

akeneo / PhpSpecSkipExampleExtension

Licence: MIT license
Skip your PhpSpec examples through annotations

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to PhpSpecSkipExampleExtension

time-series-annotator
Time series annotation library.
Stars: ✭ 52 (+48.57%)
Mutual labels:  annotation
bac-genomics-scripts
Collection of scripts for bacterial genomics
Stars: ✭ 39 (+11.43%)
Mutual labels:  annotation
DRAM
Distilled and Refined Annotation of Metabolism: A tool for the annotation and curation of function for microbial and viral genomes
Stars: ✭ 159 (+354.29%)
Mutual labels:  annotation
inception-external-recommender
Get annotation suggestions for the INCEpTION text annotation platform from spaCy, Sentence BERT, scikit-learn and more. Runs as a web-service compatible with the external recommender API of INCEpTION.
Stars: ✭ 36 (+2.86%)
Mutual labels:  annotation
piaf
Question Answering annotation platform - Plateforme d'annotation
Stars: ✭ 62 (+77.14%)
Mutual labels:  annotation
concrete-python
Python modules and scripts for working with Concrete, a data serialization format for NLP
Stars: ✭ 19 (-45.71%)
Mutual labels:  annotation
Od Annotation
目标检测数据集标注工具
Stars: ✭ 253 (+622.86%)
Mutual labels:  annotation
phpstan-phpspec
PhpSpec extension for PHPStan
Stars: ✭ 19 (-45.71%)
Mutual labels:  phpspec
annotate
Create 3D labelled bounding boxes in RViz
Stars: ✭ 104 (+197.14%)
Mutual labels:  annotation
doccano-transformer
The official tool for transforming doccano format into common dataset formats.
Stars: ✭ 87 (+148.57%)
Mutual labels:  annotation
Jedisjeux
Boardgames website, based on Symfony framework and Sylius.
Stars: ✭ 13 (-62.86%)
Mutual labels:  phpspec
MS-CleanR
No description or website provided.
Stars: ✭ 21 (-40%)
Mutual labels:  annotation
prodoc.nvim
a neovim comment and annotation plugin using coroutine
Stars: ✭ 47 (+34.29%)
Mutual labels:  annotation
annotorious-openseadragon
An OpenSeadragon plugin for annotating high-res zoomable images
Stars: ✭ 93 (+165.71%)
Mutual labels:  annotation
frontend-toolkit
Tools, documentation and resources for creating front-end pages and apps in Hypothesis
Stars: ✭ 18 (-48.57%)
Mutual labels:  annotation
etos-deepcut
Deep Extreme Cut http://www.vision.ee.ethz.ch/~cvlsegmentation/dextr . a tool to do automatically object segmentation from extreme points.
Stars: ✭ 24 (-31.43%)
Mutual labels:  annotation
ofxOpenCvDnnObjectDetection
OpenCV based DNN Object Detection Library for Openframeworks
Stars: ✭ 34 (-2.86%)
Mutual labels:  annotation
ansible-docgen
Generate documentation from annotated Ansible Playbooks and Roles
Stars: ✭ 61 (+74.29%)
Mutual labels:  annotation
fit
easy storage Object on SharedPreferences
Stars: ✭ 53 (+51.43%)
Mutual labels:  annotation
BACTpipe
BACTpipe: An assembly and annotation pipeline for bacterial genomics
Stars: ✭ 19 (-45.71%)
Mutual labels:  annotation

PhpSpec Skip Example Extension

This PhpSpec extension allows to skip example through user-friendly annotations. Build Status

Installation

Once you have installed PhpSpec (following the documentation on the official website), add the extension requirement to your composer.json:

Using phpspec 4.x,

{
    "require": {
        "akeneo/phpspec-skip-example-extension": "^3.0"
    }
}

Using phpspec 5.x,

{
    "require": {
        "akeneo/phpspec-skip-example-extension": "^4.0"
    }
}

And run composer update:

$ php composer.phar update akeneo/phpspec-skip-example-extension

Configuration

You can now activate the extension by creating a phpspec.yml file at the root of your project:

extensions:
    Akeneo\SkipExampleExtension: ~

Usage

@require

Skips all the spec example if the class or interface is not available

/**
 * @require Vendor\Builder\ToolInterface
 */
class BridgeBuilderSpec extends ObjectBehavior
{
    // Will be skipped if the Vendor\Builder\ToolInterface interface does not exist
    function it_builds_a_brige()
    {
    }

    // Will be skipped if the Vendor\Builder\ToolInterface interface does not exist
    function it_builds_the_road()
    {
    }

    //...
}

Contributions

Feel free to contribute to this extension if you find some interesting ways to improve it!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].