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 have a long exception message which has a lot of garbage in, but a few elements I want to check the presence of. So I figured I'd call `self::expectExceptionMessage()`...

type/enhancement

wdyt about running the test-suite of a few popular repositories in phpunit CI, so we can more easily which impact a given pull request has on them? e.g. running the...

type/enhancement
type/build-automation

### Use case I am working on tests tool based on phpunit that work with generated data files per test method and dataset: - In "recording" mode, data is written...

type/enhancement

PHPUnit 10.5 tightened up the data providers to flag as a error if a data provider returns an empty set. This causes problems in the case where the test the...

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

| Q | A | --------------------| --------------- | PHPUnit version | 12.5.2 | PHP version | 8.4.15 | Installation Method | Composer #### Summary Using a `#[DataProvider]` adds uncovered line...

type/bug
feature/data-provider
feature/code-coverage

This PR is a proof-of-concept for statically matching paths without traversing the filesystem during the test run. It replaces #6146 and uses the [webmozarts/glob](https://github.com/webmozarts/glob) package. Would fix #6114 --- The...

type/enhancement
type/performance

Introduce two new parameter matching rules for the MockObject framework: - UnorderedParameterSets: validates parameters across multiple invocations without requiring a specific order. - ConsecutiveParameterSets: validates parameters for consecutive method invocations...

type/enhancement
feature/test-doubles

| Q | A | --------------------| --------------- | PHPUnit version | 12.4.5 | PHP version | 8.5.0 | Installation Method | Composer `composer info | sort`: ``` myclabs/deep-copy 1.13.4 Create...

type/bug
feature/issues

I am trying to collect deprecation notices while running the PHPUnit test suite in a Symfony application. In general, I‘d like to `ignoreIndirectDeprecations="true"`, since there are a lot of them...

feature/issues

`DebugClassLoader` from symfony/error-handler has the interesting feature that it can be set up as an autoloader and do on-the-fly source code analysis. It will trigger deprecation notices e. g. when...

feature/issues