-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
feature/configurationfeature/test-runnerCLI test runnerCLI test runnertype/enhancementA new idea that should be implementedA new idea that should be implemented
Description
It is possible to exclude some global variables for the global-backup-system via an annotation on class or method level.
Example:
#[\PHPUnit\Framework\Attributes\ExcludeGlobalVariableFromBackup('wpdb')]
class MyTest { /* ... */ }
I would really like to be able to define such an exclusion globally, i.e. for the whole test run and all test cases. I would expect there to be a CLI argument and/or an XML configuration option, simiar to the existing flag option for backupGlobals
.
Metadata
Metadata
Assignees
Labels
feature/configurationfeature/test-runnerCLI test runnerCLI test runnertype/enhancementA new idea that should be implementedA new idea that should be implemented