Skip to content

Commit e213e44

Browse files
authored
Merge pull request #159 from alexandre-daubois/upgrade-behat
Upgrade Behat and use PHP config
2 parents 40c3f43 + 15bb2df commit e213e44

File tree

4 files changed

+48
-34
lines changed

4 files changed

+48
-34
lines changed

behat.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Behat\Config\Config;
6+
use Behat\Config\Filter\TagFilter;
7+
use Behat\Config\Profile;
8+
use Behat\Config\Suite;
9+
use Php\PieBehaviourTest\CliContext;
10+
11+
$profile = (new Profile('default'))
12+
->withSuite(
13+
(new Suite('default'))
14+
->withContexts(CliContext::class)
15+
->withPaths('%paths.base%/features')
16+
->withFilter(new TagFilter('~@wip')),
17+
);
18+
19+
return (new Config())
20+
->withProfile($profile);

behat.yml.dist

Lines changed: 0 additions & 10 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"webmozart/assert": "^1.11"
4141
},
4242
"require-dev": {
43-
"behat/behat": "^3.16",
43+
"behat/behat": "^3.17",
4444
"doctrine/coding-standard": "^12.0",
4545
"php-standard-library/psalm-plugin": "^2.3",
4646
"phpunit/phpunit": "^10.5.39",

composer.lock

Lines changed: 27 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)