
JUnit
WritePHPOnline.Com
Cucumber
PHPTester.net
RSpec
Paiza.io
OnlinePHPFunctions
Application and Data, Build, Test, Deploy, and Testing Frameworks

TestMu AI (Formerly LambdaTest)
CrossBrowserTesting
TestingWhiz
Selenium
Behat
Sauce Labs
BrowserStack
Codeception is a new full-stack testing PHP framework.
Which is more popular?
Based on our record, PHPUnit should be more popular than Codeception. It has been mentioned 34 times since March 2021.
Website, pricing, platforms and company facts side by side.
|
|
|
|
|---|---|---|
| Website | phpunit.de | codeception.com |
| Pricing | ||
| Listed in |
What each product offers, as listed by its team.


Possible disadvantages
Possible disadvantages
An editorial look at what each product does well and who it suits.


Overall verdict
Why this product is good
Recommended for
No analysis of Codeception yet.
Walkthroughs and reviews on video.
PHP Unit Testing with PHPUnit | Automated PHP Testing Tutorial [2021]
More videos
Our First Acceptance Test [6/24] Codeception & Symfony2
More videos
How often each product is chosen within a category, 0–100% relative to the other.


Share your experience with using PHPUnit and Codeception. For example, how are they different and which one is better?
Recommendations tracked on public social media and blogs since March 2021.


Use tools like Composer, Docker, and PHPUnit for efficiency. - Source: dev.to / about 1 year ago
Laravel also has out-of-the-box testing tools like Pest and PHPUnit and functionalities to enable expressive testing. It also supports executing automated testing sessions that are more precise than manual ones. - Source: dev.to / over 1 year ago
The example is built over a Symfony environment and using the PHPUnit library, but the idea is valid for any language or framework. - Source: dev.to / about 2 years ago
Personal experience: - don’t use Behat unless you really needed a “story telling”, it has a intermediate layer Gherkin that you’ll need to code. You can write “Given/When/Then” steps but you’ll also need to write “php code” that will... Source: over 3 years ago
Codeception: https://codeception.com/. Source: over 3 years ago
I would say to check out Codeception. Codeceptions has modules for Symfony and database generally. Long and short of it is that if you want you can run api tests that go into the controllers and rollback the database afterwards. Source: about 4 years ago
When comparing PHPUnit and Codeception, you can also consider the following products.
JUnit is a simple framework to write repeatable tests.
Compare JUnit to PHPUnit or Codeception:

World’s first full-stack Agentic AI Quality Engineering platform.
Compare TestMu AI (Formerly LambdaTest) to PHPUnit or Codeception:

WritePHPOnline.Com is an online site that enables you to write code in PHP and view its output.
Compare WritePHPOnline.Com to PHPUnit or Codeception:

Browser Testing made simple! Run automated, visual, and manual tests on 1500+ real browsers and mobile devices. Test more browsers, in less time.
Compare CrossBrowserTesting to PHPUnit or Codeception:

Cucumber is a BDD tool for specification of application features and user scenarios in plain text.
Compare Cucumber to PHPUnit or Codeception:

TestingWhiz is a codeless test automation tool for software, mobile and web.
Compare TestingWhiz to PHPUnit or Codeception: