Adds test files to the source collection
Source position: fpmkunit.pp line 922
public procedure TSources.AddTestFiles( |
const AFileMask: string; |
const ASearchPathPrefix: string; |
Recursive: Boolean = False |
); |
AFileMask |
|
File pattern mask for selecting test files |
ASearchPathPrefix |
|
Search path prefix for locating test files |
Recursive |
|
Whether to search subdirectories recursively |
AddTestFiles adds test files matching the specified file mask pattern to the source collection. Test files contain unit tests and validation code for verifying package functionality.
The method searches for files matching AFileMask and includes them in the package for testing purposes. Test files are used during package validation and quality assurance.