ecl-logo Documentation

SymbolTestFile

SymbolTestFile[symbol]path

returns the path to the source file containing units tests for symbol.

Details

  • Returns $Failed if no tests are found.
  • Input
    Output

Examples

Basic Examples  (3)

Returns path to the file containing tests for a symbol:

Given a string, returns path to file containing tests for the equivalent symbol:

Given a symbol that has no tests defined, returns $Failed: