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
Requires (Dev)
- behat/behat: ~3.0.6
- phpspec/phpspec: ^3.0
This package is not auto-updated.
Last update: 2024-12-12 15:41:21 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.