PHPUnit_Util_Filter is a class in PHPUnit library that allows to filter and select files for testing purposes. It provides a set of static methods to create different filters based on different criteria like file extensions, patterns, exclusion lists, etc.
Here are some code examples of PHPUnit_Util_Filter:
1) Filter test files with a specific file extension:
This code example will create a filter that selects all files in the directory '/path/to/test/directory' that match the regex pattern /^MyTest.*\.php$/.
Overall, PHPUnit_Util_Filter is a package library in PHPUnit that provides a useful set of methods to create and apply filters in a test suite. It helps to customize and narrow down the selection of files that should be tested, resulting in faster and more efficient test runs.
PHP PHPUnit_Util_Filter - 30 examples found. These are the top rated real world PHP examples of PHPUnit_Util_Filter from package qcodo extracted from open source projects. You can rate examples to help us improve the quality of examples.