Behat alternatives and similar libraries
Based on the "Testing" category.
Alternatively, view Behat alternatives based on common mentions on social networks and blogs.
-
Mockery
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). -
VFS Stream
vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest. -
PHP-Mock: mocking built-in PHP functions
Mock built-in PHP functions (e.g. time(), exec() or rand())
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Behat or a related project?
Popular Comparisons
README
Behat is a BDD framework for PHP to help you test business expectations.
Installing Behat
The easiest way to install Behat is by using Composer:
$> composer require --dev behat/behat
After that you'll be able to run Behat via:
$> vendor/bin/behat
Installing Development Version
Clone the repository and install dependencies via Composer:
$> composer install
After that you will be able to run development version of Behat via:
$> bin/behat
Contributing
Before contributing to Behat, please take a look at the [CONTRIBUTING.md](CONTRIBUTING.md) document.
Versioning
Starting from v3.0.0
, Behat is following Semantic Versioning v2.0.0.
This basically means that if all you do is implement interfaces (like this one)
and use service constants (like this one),
you would not have any backwards compatibility issues with Behat up until v4.0.0
(or later major)
is released. Exception could be an extremely rare case where BC break is introduced as a measure
to fix a serious issue.
You can read detailed guidance on what BC means in Symfony2 BC guide.
Useful Links
- The main website is at http://behat.org
- The documentation is at http://docs.behat.org/en/latest/
- Official Google Group is at http://groups.google.com/group/behat
- IRC channel on #freenode is
#behat
- [Note on Patches/Pull Requests](CONTRIBUTING.md)
Contributors
- Konstantin Kudryashov everzet [lead developer]
- Other awesome developers
*Note that all licence references and agreements mentioned in the Behat README section above
are relevant to that project's source code only.