Sign in Join
FPDoc Onlineexperiment

TSources.AddTest function

Member of TSourcespublicIn unit fpMkUnit

Adds test sources to the collection

Declaration

pascal
function AddTest(const AFiles: string): TSource

Arguments

AFiles

List of test files to add

Function result

Newly created test source item

Description

Creates and adds a new test source entry that specifies test program files used for package validation and quality assurance. Test files verify that the package functionality works correctly.

Test sources are typically run during development and before package releases to ensure code quality and prevent regressions.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.