phpunit icon indicating copy to clipboard operation
phpunit copied to clipboard

The PHP Unit Testing framework.

Results 382 phpunit issues
Sort by recently updated
recently updated
newest added

| Q | A | --------------------| --------------- | PHPUnit version | 11.3.5 | PHP version | 8.3.8 | Installation Method | Composer #### Summary The diff output when assertEqualsCanonicalizing() fails...

type/bug

Deprecation are sometimes hard to track. Figuring the exact stack trace for one particular deprecation is really useful to understand how it comes up and fix it. It would be...

type/enhancement
feature/test-runner

| Q | A | --------------------| --------------- | PHPUnit version | 8.1.6, but presumably since 8.1.4 | PHP version | 7.2 | Installation Method | PHAR (Filed because of https://github.com/sebastianbergmann/phpunit/issues/3587#issuecomment-499158723)...

type/bug
feature/test-runner

Using `assertEqualsCanonicalizing` effectively uses `sort()` to canonicalize arrays. I fail to see where this might become helpful in a unit test scenario (unidentifiable values whose order doesn't matter)? On the...

type/enhancement
feature/assertion

It would be quite handy to use constraints within array values when using `isEqual`, like so: ```php $mock = $this->createMock(SomeClass::class); $mock ->method('doSomething') ->with([ 'key' => $this->isType('string'), 'value' => 'some value',...

type/enhancement

Sometimes on large test suites I get unexpected failures and after seeing a few I am thinking "ok what's up?" and don't really feel like waiting for the whole test...

type/enhancement

Implement a new CLI option `--filter-using-test-id-file ` to select the tests to be run based on a list of test identifiers that is read from a plain text file. This...

type/enhancement
feature/test-runner

⚠️ this is experimental; do not ~count~ depend on this making it to the PHPUnit core ⚠️ Experimenting with the [lazy loading dataproviders](https://github.com/epdenouden/phpunit/tree/dataproviderzzz) is the perfect time to try and...

type/refactoring
feature/test-dependencies

| Q | A | --------------------| --------------- | PHPUnit version | 7.5.9 | PHP version | 7.3.4 | Installation Method | PHAR It would be nice if the failed expection...

type/enhancement
feature/test-doubles

| Q | A | --------------------| --------------- | PHPUnit version | 12.2.2 | PHP version | 8.3.20 | Installation Method | Composer #### Summary PHPUnit warnings are always failing the...

type/enhancement
feature/test-runner
feature/configuration/xml
feature/configuration/cli