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
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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.
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 | 2 Jun 2024
Index
What are some of the best open-source PHPunit projects in PHP? This list will help you:
Project | Stars | |
---|---|---|
1 | PHPUnit | 19,582 |
2 | Mockery | 10,569 |
3 | Codeception | 4,746 |
4 | php-ddd-example | 2,920 |
5 | PHP VCR | 1,142 |
6 | doctrine-test-bundle | 1,056 |
7 | phpunit-watcher | 853 |
8 | phpunit-speedtrap | 782 |
9 | wp_mock | 658 |
10 | Phake | 478 |
11 | bypass-finals | 456 |
12 | laravel-vue-crud-starter | 393 |
13 | BrainMonkey | 289 |
14 | guzzler | 269 |
15 | Steward | 221 |
16 | phpunit-pretty-print | 184 |
17 | PHPUnit-Polyfills | 169 |
18 | php-mock-phpunit | 161 |
19 | paraunit | 134 |
20 | wp-phpunit | 77 |
21 | phpunit-architecture-test | 71 |
22 | phpunit-injector | 61 |
23 | PHP Noise | 51 |
Sponsored