Skip to content

Commit

Permalink
Merge pull request #9 from MacPaw/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
Yozhef authored Jan 13, 2023
2 parents 4a71db1 + a5797c7 commit 70bca82
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 48 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,28 @@ jobs:
fail-fast: false
matrix:
php:
- '8.0'
- '8.1'
- '8.2'
coverage: ['none']
symfony-versions:
- '5.4.*'
- '6.0.*'
- '^5.4'
- '^6.0'
- '^6.2'
include:
- php: '8.0'
coverage: 'xdebug'
symfony-versions: '^5.4'
- php: '8.0'
coverage: 'xdebug'
symfony-versions: '^6.0'
- description: 'Log Code Coverage'
php: '8.2'
coverage: 'xdebug'
symfony-versions: '^6.2'
- description: 'Log Code Coverage'
php: '8.1'
php: '8.2'
coverage: 'xdebug'
symfony-versions: '^6.1'
symfony-versions: '^6.2'

name: PHP ${{ matrix.php }} Symfony ${{ matrix.symfony-versions }} ${{ matrix.description }}
steps:
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Step 1: Install Bundle
Open a command console, enter your project directory and execute:

```console
$ composer require --dev macpaw/behat-nelmio-describer
$ composer require macpaw/behat-nelmio-describer
```

This command requires you to have Composer installed globally, as explained
Expand Down Expand Up @@ -100,14 +100,13 @@ An example of usage

If your feature file is located in `src/tests/Behat/Features/api/version/route/example.feature`

##Configuration
Configuration

```yaml
behat_nelmio_describer:
behat_test_path: '%kernel.project_dir%/tests/Behat/Features'
```
##Controller
Used in Controller:
```php
<?php

Expand Down Expand Up @@ -152,7 +151,7 @@ final class CustomerController extends AbstractController
}
```

##Feature file
Update your feature file:

Contains following snippets:

Expand All @@ -178,6 +177,8 @@ Contains following snippets:
}
"""
```
Now in Api Doc see response payload your test:
<img width="1040" alt="Screenshot 2022-10-26 at 12 35 44" src="https://user-images.githubusercontent.com/8971757/197991798-06cfde0a-9cb3-4065-b5af-234ce560b140.png">

[master Build Status]: https://github.com/macpaw/behat-nelmio-describer/actions?query=workflow%3ACI+branch%3Amaster
[master Build Status Image]: https://github.com/macpaw/behat-nelmio-describer/workflows/CI/badge.svg?branch=master
Expand Down
16 changes: 0 additions & 16 deletions commitlint.config.js

This file was deleted.

22 changes: 0 additions & 22 deletions package.json

This file was deleted.

0 comments on commit 70bca82

Please sign in to comment.