-
I'm really proud of your work @puneet0191 and @kshitijSharma2014. Thanks very much:
```
phpunit
PHPUnit 3.7.29 by Sebastian Bergmann.
Configuration read from tests/system/webdriver/tests/phpunit.xm…
-
# Feature request
`\Drupal\Core\Config\Config::get` returns mixed.
Given the following code in a functional test:
```
$theme = $this->config('system.theme')->get('default');
$this->assertSt…
-
As per https://github.com/sebastianbergmann/phpunit/pull/3687, the `PHPUnit\Framework\MockObject\MockBuilder::setMethods()` method was deprecated (soft in PHPUnit 8, hard in PHPUnit 9) and scheduled f…
-
Given
```php
class MyClass
{
public function foo(): string {}
}
class MyOtherClassTest extends \PHPUnit\Framework\TestCase
{
public function testFooMock()
{
$class = $t…
-
Reported, verified and already known from Telegram, i just opend the issue so we do not loose track.
![image](https://user-images.githubusercontent.com/42447585/162963700-7512fd0c-46dd-4cda-bb5b-0f…
-
With https://github.com/WordPress/performance/pull/1405, the Optimization Detective tests were refactored to be easier to maintain by putting the test cases into separate files. However, when changes …
-
I have a project that is using php assertions to verify some pre/postconditions and my regular unit tests fail if such assertions fail because phpunit by default has `convertWarningsToExceptions` on t…
-
When using a separate process to run tests, the ReflectionClass used to create new instances seems to be serialized by PHPUnit, issuing an exception:
```PHP
PHPUnit\Framework\Exception: Fatal erro…
-
I noticed PR #10 which is sort of about the same, though it would inhibit the tests from being run on PHP 5.6, which is still listed in the Travis script.
The short of it is that it will be neigh i…
jrfnl updated
10 months ago
-
Hey.
Currently there's no option for Collision to print the `Throwable::getPrevious()` exception alongside the main one, but it'd be nice to have one.
Our use case specifically is this: we have …