Polish the docs
This commit is contained in:
@@ -22,6 +22,14 @@ It allows for:
|
|||||||
* [Behat/Symfony2Extension differences](docs/04_bs2e_differences.md)
|
* [Behat/Symfony2Extension differences](docs/04_bs2e_differences.md)
|
||||||
* [Configuration reference](docs/05_configuration_reference.md)
|
* [Configuration reference](docs/05_configuration_reference.md)
|
||||||
|
|
||||||
|
## Versioning
|
||||||
|
|
||||||
|
This package follows [semantic versioning](https://semver.org/) - public API is defined as configuration and behaviour
|
||||||
|
defined in form of testable scenarios in the [`features`](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.
|
||||||
|
PHP classes, apart from `FriendsOfBehat\SymfonyExtension\Bundle\FriendsOfBehatSymfonyExtensionBundle`, are not covered
|
||||||
|
by this backwards compatibility promise.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This extension is completely free and released under permissive [MIT license](LICENSE).
|
This extension is completely free and released under permissive [MIT license](LICENSE).
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
If you're starting a new project, we recommend to use Symfony 4 with Flex as it's the most straightforward way.
|
||||||
|
If you're adding this extension to an existing project, pick the method that fits it the best.
|
||||||
|
|
||||||
### Symfony 4 (with Flex)
|
### Symfony 4 (with Flex)
|
||||||
|
|
||||||
1. Require this extension using *Composer* and allow for using contrib recipes:
|
1. Require this extension using *Composer* and allow for using contrib recipes:
|
||||||
@@ -8,7 +11,7 @@
|
|||||||
composer require --dev friends-of-behat/symfony-extension:^2.0
|
composer require --dev friends-of-behat/symfony-extension:^2.0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Symfony 4 (without Flex)
|
### Symfony 4 (new directory structure, without Flex)
|
||||||
|
|
||||||
1. Require this extension using *Composer*:
|
1. Require this extension using *Composer*:
|
||||||
|
|
||||||
|
|||||||
@@ -33,10 +33,3 @@ This integration provides two services to use inside Symfony container:
|
|||||||
|
|
||||||
* **`behat.mink.parameters`** (autoconfigured by `$minkParameters`) - an array (`\ArrayAccess` object) containing the
|
* **`behat.mink.parameters`** (autoconfigured by `$minkParameters`) - an array (`\ArrayAccess` object) containing the
|
||||||
configuration parameters of `MinkExtension`
|
configuration parameters of `MinkExtension`
|
||||||
|
|
||||||
### Caveats
|
|
||||||
|
|
||||||
This driver behaviour differs from the one provided with [`Behat/Symfony2Extension`](https://github.com/Behat/Symfony2Extension),
|
|
||||||
as it uses an isolated application kernel instance, so that services state changes within your contexts does not affect
|
|
||||||
the driver results. With that limitation, changing the driver to a different one is seamless. For more information, look
|
|
||||||
at [this issue](https://github.com/Behat/Symfony2Extension/issues/112).
|
|
||||||
|
|||||||
Reference in New Issue
Block a user