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

fix #6197 rebased version of #6208 (because of https://github.com/sebastianbergmann/phpunit/pull/6208#issuecomment-2948567868)

Succession issue for closed https://github.com/sebastianbergmann/phpunit/issues/981 Phpunit uses diffs to make objects or json strings comparable. ``` --- Expected +++ Actual @@ @@ 'rangeInSource' => Parser\Source\Range Object ( 'start' => Parser\Source\Position...

type/enhancement

Second pass of resolving `RunClassInSeparateProcess` attribute issues running `TestSuite` tests one by one in a separated process and calling before and after class methods for each test in the suite....

PHPUnit XML configuration provides a [parameter element](https://docs.phpunit.de/en/12.1/configuration.html#the-parameter-element) for passing parameters to an extension. This can be very useful, but currently means we have to modify the configuration file if we...

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

| Q | A | --------------------| --------------- | PHPUnit version | at least version 9 #### Summary The `InvocationMocker` class is annotated with `@no-named-arguments` - as this is on a...

type/bug

`protected function runTest()` in `PHPUnit\Framework\TestCase` provided an extension point to change the actual run implementation. That enabled various use-cases around exception handling and specialized test execution. One additional use-case that...

type/enhancement

| Q | A | --------------------| --------------- | PHPUnit version | 12.1.0-now | PHP version | unrelated | Installation Method | Composer #### Summary introduced in https://github.com/sebastianbergmann/phpunit/pull/6127 & #6118 merged...

type/bug

Reapply 8da3b580dfcebe53bb0dfb081b4d0e2100666159 (revert bcfa1c92c7e049676679f831332ed87d94cc969f) when PHPStan knows about new Reflection API methods introduced in PHP 8.4.

type/refactoring
feature/test-doubles