fixed listing
This commit is contained in:
@@ -58,13 +58,10 @@ After installing extension, there would be 5 usage options available for you:
|
|||||||
2. Subcontexting/extending `Behat\MinkExtension\Context\RawMinkContext` in your feature suite.
|
2. Subcontexting/extending `Behat\MinkExtension\Context\RawMinkContext` in your feature suite.
|
||||||
This will give you ability to use preconfigured `Mink` instance altogether with some
|
This will give you ability to use preconfigured `Mink` instance altogether with some
|
||||||
convenience methods:
|
convenience methods:
|
||||||
|
* `getSession($name = null)`
|
||||||
- `getSession($name = null)`
|
* `assertSession($name = null)`
|
||||||
- `assertSession($name = null)`
|
|
||||||
|
|
||||||
`RawMinkContext` doesn't provide any hooks or definitions, so you can inherit from it
|
`RawMinkContext` doesn't provide any hooks or definitions, so you can inherit from it
|
||||||
in as many subcontexts as you want - you'll never get `RedundantStepException`.
|
in as many subcontexts as you want - you'll never get `RedundantStepException`.
|
||||||
|
|
||||||
3. Subcontexting/extending `Behat\MinkExtension\Context\MinkContext` in your feature suite.
|
3. Subcontexting/extending `Behat\MinkExtension\Context\MinkContext` in your feature suite.
|
||||||
Exactly like previous option, but also provides lot of predefined step definitions out
|
Exactly like previous option, but also provides lot of predefined step definitions out
|
||||||
of the box. As this context provides step definitions and hooks, you can use it **only once**
|
of the box. As this context provides step definitions and hooks, you can use it **only once**
|
||||||
|
|||||||
Reference in New Issue
Block a user