Our great sponsors
PHPSpec | Behat | |
---|---|---|
1 | 3 | |
1,865 | 3,878 | |
0.3% | -0.1% | |
7.6 | 3.7 | |
24 days ago | 12 days ago | |
PHP | PHP | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PHPSpec
Posts with mentions or reviews of PHPSpec.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning PHPSpec yet.
Tracking mentions began in Dec 2020.
Behat
Posts with mentions or reviews of Behat.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-24.
-
Modern tools for PHP developers
Other tools worth mentioning include Codeception and behat. Both use phpUnit underneath, but have different approaches to writing tests.
-
When Symfony Http Kernel is a Too Big Hammer to Use
An example of a big CLI project using this with great success is Behat: https://github.com/behat/behat
-
10 Of The Best PHP Testing Frameworks For 2021
Step 3: If you don’t have a Composer, you can easily set up the framework by downloading the latest version of behat.phar.
What are some alternatives?
When comparing PHPSpec and Behat you can also consider the following projects:
Codeception - Full-stack testing PHP framework
PHPUnit - The PHP Unit Testing framework.
ParaTest - :computer: Parallel testing for PHPUnit
Atoum - The modern, simple and intuitive PHP unit testing framework.
php-webdriver - PHP client for Selenium/WebDriver protocol. Previously facebook/php-webdriver
Kahlan - :heavy_check_mark: PHP Test Framework for Freedom, Truth, and Justice
Peridot - Event driven BDD test framework for PHP
Faker
Prophecy - Highly opinionated mocking framework for PHP 5.3+