Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drevops/behat-format-progress-fail
๐งช Behat output formatter to show progress as TAP and failures inline
https://github.com/drevops/behat-format-progress-fail
behat behat-context behat-extension php progress test
Last synced: about 1 month ago
JSON representation
๐งช Behat output formatter to show progress as TAP and failures inline
- Host: GitHub
- URL: https://github.com/drevops/behat-format-progress-fail
- Owner: drevops
- License: gpl-3.0
- Created: 2017-05-02T09:28:08.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-17T23:29:12.000Z (3 months ago)
- Last Synced: 2024-10-30T12:52:57.567Z (about 2 months ago)
- Topics: behat, behat-context, behat-extension, php, progress, test
- Language: PHP
- Homepage:
- Size: 69.3 KB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Behat Progress Fail Output Extension
[![GitHub Issues](https://img.shields.io/github/issues/drevops/behat-format-progress-fail.svg)](https://github.com/drevops/behat-format-progress-fail/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/drevops/behat-format-progress-fail.svg)](https://github.com/drevops/behat-format-progress-fail/pulls)
[![Test](https://github.com/drevops/behat-format-progress-fail/actions/workflows/test-php.yml/badge.svg)](https://github.com/drevops/behat-format-progress-fail/actions/workflows/test-php.yml)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/drevops/behat-format-progress-fail)
![LICENSE](https://img.shields.io/github/license/drevops/behat-format-progress-fail)
![Renovate](https://img.shields.io/badge/renovate-enabled-green?logo=renovatebot)Behat output formatter to show progress as TAP and failures inline.
```
..
--- FAIL ---
Then I should have 3 apples # (features/apples.feature):11
Failed asserting that 2 matches expected 3.
------------
......U.......
--- FAIL ---
Then I should have 8 apples # (features/apples.feature):25
Failed asserting that 7 matches expected 8.
------------
.....UU
```![Output in CI](https://cloud.githubusercontent.com/assets/378794/26039517/1765b812-395f-11e7-9932-dd1aa43a97d4.png)
## Installation
```bash
composer require --dev drevops/behat-format-progress-fail
```## Usage
```bash
vendor/bin/behat --format=progress_fail
```### Configure
>behat.yml
```yaml
default:
extensions:
DrevOps\BehatFormatProgressFail\FormatExtension: ~
```## Maintenance
### Lint code
```bash
composer lint
composer lint-fix
```### Run tests
```bash
composer test
```---
Repository created using https://getscaffold.dev/ project scaffold template