wuchen90 65cd3478b2 fix: allow to use parameter resolution in configuration for bootstrap key
In PhpStorm, I've got an issue with path resolution for the bootstrap file.
I don't know why the path in which Behat runs is always the folder `features`.
So Behat always fails trying to look for `/project/root/path/features/config/bootstrap.php`.

With this fix, bootstrap file will be resolved based on the base path.
Plus, people will be allowed to use the parameter `%paths.base%` to define a custom bootstrap file path.
E.g.:

```yaml
default:
  extensions:
    FriendsOfBehat\SymfonyExtension:
      bootstrap: '%paths.base%/custom/bootstrap.php'
```
2024-06-20 17:19:24 +02:00
2024-01-11 16:55:38 +02:00
2019-01-30 17:38:45 +01:00
2016-11-03 11:36:50 +01:00
2021-02-04 16:45:42 +01:00
2019-01-10 22:30:53 +01:00
2022-11-28 08:12:44 +00:00
2024-01-11 11:44:18 +02:00


SymfonyExtension

This Behat extension provides an integration with Symfony (^6.0 and ^7.0) and Mink driver for Symfony application.

It allows for:

  • defining your contexts as regular Symfony services

  • autowiring and autoconfiguring your contexts

  • testing your Symfony application without having to set up a server

Documentation

For a bit of backstory, take a look at the SymfonyExtension v2.0.0 release blogpost.

Versioning and release cycle

This package follows semantic versioning.

Public API is defined as configuration and behaviour defined in form of testable scenarios in the features directory. This means once your application is configured to use Behat with SymfonyExtension, it shall continue to work flawlessly within the same major version.

Next major releases are not planned yet. Minor and patch releases will be published as needed.

Bug fixes will be provided only for the most recent minor release. Security fixes will be provided for one year since the release of subsequent minor release.

Example (with arbitrary dates):

  • v1.0.0 is released on 23.11.2019
  • v1.0.1 with a bugfix is provided on 03.02.2020
  • v1.1.0 is released on 15.02.2020:
    • 1.0 branch will not get bugfixes anymore
    • 1.0 security support will end on 15.02.2021

License

This extension is completely free and released under permissive MIT license.

Authors

It is originally created by Kamil Kokot. See the list of all contributors.

Description
Fork of FriendsOfBehat SymfonyExtension with Symfony 8 / PHP 8.5 compatibility work
Readme MIT 564 KiB
Languages
Gherkin 62.7%
PHP 37.3%