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

I found this minor issue with psalm on a custom project that uses phpunit. > psalm: PropertyNotSetInConstructor: Property Donquixote\QuickAttributes\Tests\ClassesTest::$backupStaticAttributes is not defined in constructor of Donquixote\QuickAttributes\Tests\ClassesTest or in any methods...

This is a feature request. Currently, if some test calls `exit`, phpunit stops and ends with a zero exit code. This is dangerous as phpunit will pass in CI even...

type/enhancement
feature/test-runner

| Q | A | --------------------| --------------- | PHPUnit version | 9.5.9 | PHP version | 7.3.28 | Installation Method | Composer #### Summary assertStringNotContainsString doesn't behave as expected and...

type/bug
feature/assertion

type/backward-compatibility
feature/test-runner
feature/code-coverage
feature/configuration/xml

| Q | A | --------------------| --------------- | PHPUnit version | 9.5 | PHP version | n/a | Installation Method | n/a #### Summary Working on adjusting Drupal for PHPUnit...

type/bug

Hello, in reference to [this](https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5941#discussion_r702152247) - in PHP CS Fixer (and I bet in other repos too) there is often situation when test method is duplicated (up to 4 copies)...

type/enhancement

The website still lists PHPUnit 9 as being supported until February 2020 on https://phpunit.de/supported-versions.html, based on the rule of ending 2 years after its initial release. However, that rule was...

See https://github.com/sebastianbergmann/phpunit/blob/master/.github/workflows/ci.yml#L65.

type/build-automation

| Q | A | --------------------| --------------- | PHPUnit version | 9.5.8 | PHP version | 7.4.22 | Installation Method | PHAR distrib from official site https://phar.phpunit.de/ #### Summary I've...

type/bug
feature/test-runner

This is a partial fix for the issue raised in #4368 that - Adds the tests suggested by @markrogoyski - Fixes the existing regex to match single quotes for both...

type/bug
feature/assertion