phpunit
phpunit copied to clipboard
The PHP Unit Testing framework.
| Q | A | --------------------| --------------- | PHPUnit version | 9.5.11 | PHP version | 8.0.14 | Installation Method | Composer #### Summary i'm using laravel 8 with php...
See https://wiki.php.net/rfc/null-false-standalone-types for details.
| Q | A | --------------------| --------------- | PHPUnit version | 9.5.9 | PHP version | 8.0.12 | Installation Method | **Composer** / **PHAR** #### Summary I'm trying to test...
assertEqualsCanonicalizing() produces confusing message when elements cannot be converted to string
| Q | A | --------------------| --------------- | PHPUnit version | 9.5.18 | PHP version | 8.1.2 | Installation Method | PHAR #### Summary When `assertEqualsCanonicalizing()` is utilized the assertion...
| Q | A | --------------------| --------------- | PHPUnit version | 9.5.16 | PHP version | 7.4.2 | Installation Method | Composer #### Summary If a test fails because an...
**Assertion to compare objects of diff classes.** Syntax: `function assertSameObjects(object $expected, object $actual, [bool $strict = false, string $message = ''])` Behavior: 1. Converts given objects to arrays of **public**...
| Q | A | --------------------| --------------- | PHPUnit version | >7.5.* | PHP version | >7.0.* | Installation Method | Composer #### Summary Assertion method `TestCase::assertEqualsCanonicalizing()`: 1. not converts/sorts...
Hi! 1. I've added missed diff output in case of failure phpt test in `--teamcity` configuration, when phpt scenario contains `--EXPECT--` section. 2. I've put the diff output in case...
It's my very first PR to the PHPUnit project, so any suggestions are welcomed. These changes are referring to the #4775 issue. Until now, there is no warning about the...
I'm not 100% sure what the best way would be to test this.