PHPackages                             behat/common-contexts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. behat/common-contexts

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

behat/common-contexts
=====================

Commonly used contexts for Behat 2.x

v1.2.0(13y ago)1151.6M↓16.7%344MITPHPPHP &gt;=5.3.1

Since Jan 4Pushed 1y ago10 watchersCompare

[ Source](https://github.com/Behat/CommonContexts)[ Packagist](https://packagist.org/packages/behat/common-contexts)[ Docs](http://behat.org/)[ RSS](/packages/behat-common-contexts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (4)

THIS PROJECT IS ABANDONED
=========================

[](#this-project-is-abandoned)

This project (which was never updated for Behat 3.x) is abandoned and will not receive further updates.

Extra Contexts for Behat 2.x
============================

[](#extra-contexts-for-behat-2x)

This additional contexts could be used as your feature suite's submodules, giving you extra steps and hooks right out of the box.

How to use them
---------------

[](#how-to-use-them)

To use those contexts, you should simply instantiate them with needed arguments (see constructor arguments) and pass them into `useContext()` function like that:

```
