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 | 9.5.20 | PHP version | 8.1.4 | Installation Method | Composer #### Summary I want to filter (`--filter`) by...

type/bug
feature/test-runner
feature/data-provider

| Q | A | --------------------| --------------- | PHPUnit version | 10.0-dev | PHP version | 8.1.6 | Installation Method | Composer #### Summary I wanted to try out PHPUnit...

type/bug
feature/test-runner

| Q | A | --------------------| --------------- | PHPUnit version | 9.5.20 | PHP version | 7.4.24 | Installation Method | Composer #### Summary when running phpunit without defining a...

type/bug

fixes https://github.com/sebastianbergmann/phpunit/issues/4966 The removed code is residual from https://github.com/sebastianbergmann/phpunit/commit/136fae39306c8e6cda3fb5ec8fcc0ff8cff8cf4e and even a difference by `PHP_FLOAT_EPSILON` should be reported as a failure. The `PHP_FLOAT_EPSILON` constant equals to `2.220446049250313E-16` (see 3v4l link...

| Q | A | --------------------| --------------- | PHPUnit version | 9.5.20 | PHP version | 8.1.5 | Installation Method | Composer #### Summary I have a some phpt-tests. In...

type/bug
feature/phpt

I have a custom extension that I only want used/enabled for one particular (non-default) testsuite. Right now, extensions are enabled at the top level (parent element ``), which means the...

type/enhancement
feature/test-runner

| Q | A | --------------------| --------------- | PHPUnit version | 9.5.10 | PHP version | 7.4 | Installation Method | Composer #### Summary ``` TestCase::assertEquals(false, '0') ``` currently produces:...

type/bug
feature/assertion

| Q | A | --------------------| --------------- | PHPUnit version | 9.5.10 | PHP version | 7.4 | Installation Method | Composer #### Summary Currently test case like: ``` $this->assertSame(8.20234376757473,...

type/bug
feature/assertion

For issue https://github.com/sebastianbergmann/phpunit/issues/4204

type/enhancement
feature/assertion

Adds an optional data set `name` argument to the `#[TestWith]` & `#[TestWithJson]` attributes: ```php #[TestWith(['a', 'b'], 'Name1')] #[TestWith(['c', 'd'], 'Name2')] public function testFoo(string $one, string $two) {} ```