ecl-logo Documentation

TestFile

TestFile[symbol]filePath

returns the filePath containing the definitions of unit tests for given symbol.

TestFile[symbol]$Failed

returns $Failed if no unitTests have been defined for the given symbol.

TestFile[string]filePath

returns the filePath containing the definitions of unit tests for given string.

TestFile[string]$Failed

returns $Failed if no unitTests have been defined for the given string.

Details

    Input
    Output

Examples

Basic Examples  (4)

Returns the file path in which the unit tests for a given symbol are defined:

Returns $Failed if there are no tests defined for a given symbol:

Returns the file path in which the unit tests for a given string are defined:

Returns $Failed if there are no tests defined for a given string:

Applications  (1)

Open the file in which the unit tests for a symbol are defined: