Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSources.AddTest

Adds test sources to the collection

Declaration

Source position: fpmkunit.pp line 917

public function TSources.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.


Documentation generated on: Dec 15 2025