niklongstone / behat-scenario-file-line
A Behat output formatter which shows a list of scenarios' filename and line
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/niklongstone/behat-scenario-file-line
Requires (Dev)
- behat/behat: ~3.0.6
- phpspec/phpspec: ^3.0
This package is not auto-updated.
Last update: 2025-10-02 19:29:42 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.