SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 PHP PHPunit Projects
-
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).
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
PHP VCR
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
-
doctrine-test-bundle
Symfony bundle to isolate your app's doctrine database tests and improve the test performance
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
bypass-finals
Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
-
PHPUnit-Polyfills
Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests
-
wp-phpunit
WordPress core PHPUnit library. [READ ONLY] Versions for new WordPress releases are built daily.
-
phpunit-injector
Injects services from a PSR-11 dependency injection container to PHPUnit test cases
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
PHPUnit is the de facto standard for PHP unit testing. It provides a framework for writing and running tests, helping developers quickly discover and fix errors. PHPUnit encourages developers to write testable code and adopt a test-driven development approach, resulting in higher-quality code and reduced chances of errors in production.
johnkary/phpunit-speedtrap: Reports on slow-running tests in your PHPUnit test suite.
I had this issue when working with Dibi as I needed to mock final methods. You can use this https://github.com/dg/bypass-finals package and forget all the debate about finals against non-final.
It's a pity that your project has a name clash with another project that does the exact same thing... https://github.com/indentno/phpunit-pretty-print
PHP PHPunit related posts
- How to migrate from Api Platform v2 to v3?
- BillaBear - Design Decisions ‐ Not Using Final Classes
- PHPUnit 10 - Coverage attributes
- Public or private by default, what to choose?
- I created a PHPUnit 10 extension to prettify CLI output
- A PHPUnit 10 extension to enforce minimum code coverage by using the clover XML
- How Are Y'All Unit Testing Your WordPress Code (If You Are)
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
Index
What are some of the best open-source PHPunit projects in PHP? This list will help you:
Project | Stars | |
---|---|---|
1 | PHPUnit | 19,541 |
2 | Mockery | 10,558 |
3 | Codeception | 4,740 |
4 | php-ddd-example | 2,901 |
5 | PHP VCR | 1,135 |
6 | doctrine-test-bundle | 1,050 |
7 | phpunit-watcher | 852 |
8 | phpunit-speedtrap | 780 |
9 | wp_mock | 654 |
10 | Phake | 478 |
11 | bypass-finals | 441 |
12 | laravel-vue-crud-starter | 389 |
13 | BrainMonkey | 287 |
14 | guzzler | 270 |
15 | Steward | 221 |
16 | phpunit-pretty-print | 181 |
17 | PHPUnit-Polyfills | 167 |
18 | php-mock-phpunit | 162 |
19 | paraunit | 134 |
20 | wp-phpunit | 77 |
21 | phpunit-architecture-test | 69 |
22 | phpunit-injector | 61 |
23 | PHP Noise | 51 |
Sponsored