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

Beeceptor
Mockoon
MockServer
Postman
QuickMocker
SOAP/REST Mock Service
Webhook.site
WireMock - a web service test double for all occasions.

Which is more popular?
PHPUnit might be a bit more popular than WireMock. We know about 34 links to it since March 2021 and only 23 links to WireMock.
Website, pricing, platforms and company facts side by side.
|
|
|
|
|---|---|---|
| Website | phpunit.de | wiremock.org |
| 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 WireMock yet.
Walkthroughs and reviews on video.
PHP Unit Testing with PHPUnit | Automated PHP Testing Tutorial [2021]
More videos
WireMock stand-alone by Ixchel Ruiz
How often each product is chosen within a category, 0–100% relative to the other.


Share your experience with using PHPUnit and WireMock. 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 / almost 2 years ago
On a new project, I decided to re-evaluate my options, and remembered a tool that seems to be the next best thing for the job: Wiremock. - Source: dev.to / over 1 year ago
I'm pretty sure Wiremock (https://wiremock.org) lets you configure both the response body and headers. - Source: Hacker News / over 1 year ago
Mocha is a lib inspired by nock and WireMock. It allows checking if the mock was called or not, which is a nice feature. Like httptest, it also it don't automatically intercept the requests. - Source: dev.to / over 1 year ago
When comparing PHPUnit and WireMock, you can also consider the following products.

Unblock yourself from API dependencies, and build & integrate with APIs fast. Beeceptor helps you build a mock Rest API in a few seconds.
Compare Beeceptor to PHPUnit or WireMock:

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

Mockoon is the easiest and quickest way to design and run mock REST APIs. No remote deployment, no account required, free and open-source.
Compare Mockoon to PHPUnit or WireMock:

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

Easy mocking of any system you integrate with via HTTP or HTTPS.
Compare MockServer to PHPUnit or WireMock: