Download the PHP package short-edition/contexts without Composer
On this page you can find all versions of the php package short-edition/contexts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download short-edition/contexts
More information about short-edition/contexts
Files in short-edition/contexts
Download short-edition/contexts
More information about short-edition/contexts
Files in short-edition/contexts
Please rate this library. Is it a good library?
Informations about the package contexts
Behatch contexts
Behatch contexts provide most common Behat tests.
Installation
This extension requires:
- Behat 3+
- Mink
- Mink extension
Project dependency
- Install Composer
-
Require the package with Composer:
- Activate extension by specifying its class in your
behat.yml
:
Project bootstraping
- Download the Behatch skeleton with composer:
Browser, json, table and rest step need a mink configuration, see Mink extension for more information.
Usage
In behat.yml
, enable desired contexts:
Examples
This project is self-tested, you can explore the features directory to find some examples.
Configuration
browser
- more browser related steps (like mink)timeout
- default timeout
debug
- helper steps for debuggingscreenshotDir
- the directory where store screenshots
system
- shell related stepsroot
- the root directory of the filesystem
json
- JSON related stepsevaluationMode
- javascript "foo.bar" or php "foo->bar"
table
- play with HTML the tablesrest
- send GET, POST, ... requests and test the HTTP headersxml
- XML related steps
Configuration Example
For example, if you want to change default directory to screenshots - you can do it this way:
Translation
All versions of contexts with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
behat/behat Version ^3.0.13
friends-of-behat/mink-extension Version ^2.3.1
justinrainbow/json-schema Version ^5.0
symfony/property-access Version ^2.3|^3.0|^4.0|^5.0
symfony/http-foundation Version ^2.3|^3.0|^4.0|^5.0
symfony/dom-crawler Version ^2.4|^3.0|^4.0|^5.0
behat/behat Version ^3.0.13
friends-of-behat/mink-extension Version ^2.3.1
justinrainbow/json-schema Version ^5.0
symfony/property-access Version ^2.3|^3.0|^4.0|^5.0
symfony/http-foundation Version ^2.3|^3.0|^4.0|^5.0
symfony/dom-crawler Version ^2.4|^3.0|^4.0|^5.0
The package short-edition/contexts contains the following files
Loading the files please wait ....