An open API service indexing awesome lists of open source software.

https://github.com/cucumber/tag-expressions-php

[READ ONLY] Cucumber Tag Expressions for PHP - subtree of https://github.com/cucumber/tag-expressions
https://github.com/cucumber/tag-expressions-php

Last synced: 6 months ago
JSON representation

[READ ONLY] Cucumber Tag Expressions for PHP - subtree of https://github.com/cucumber/tag-expressions

Awesome Lists containing this project

README

          

# Cucumber Tag Expressions

This is a PHP implementation of the [Cucumber Tag Expressions parser](https://github.com/cucumber/tag-expressions)

## Requirements

* PHP 8.1

## Installation

Install using [composer](https://getcomposer.org).

```shell
composer require cucumber/tag-expressions
```

## Usage

```php
use Cucumber\TagExpressions\TagExpressionParser;

$expression = TagExpressionParser::parse('@smoke and not @ui');

$result = $expression->evaluate(['@smoke', '@cli'])
```