niklongstone/behat-scenario-file-line

A Behat output formatter which shows a list of scenarios' filename and line

dev-master 2016-07-26 17:25 UTC

This package is not auto-updated.

Last update: 2024-04-18 12:40:05 UTC


README

A Behat 3 output formatter which shows a list of scenarios with filename and line.
i.e.: feature/feature/MyScenario/login.feature:2

Installation

Require the library via Composer

composer require niklongstone/behat-scenario-file-line:dev-master

Add the formatter to your behat.yml:

default:
    formatters:
        fileline: true
    extensions:
        FileLineFormatter\FileLineFormatterExtension:
            name: fileline
            base_path: %paths.base%

From the command line run:

bin/behat --dry-run to list the scenarios files with lines.