ecl-logo Documentation

UnitTestedItems

UnitTestedItems[]items

returns the list of all items with associated unit tests.

UnitTestedItems[file]items

returns the list of all items with associated unit tests defined in the given file.

UnitTestedItems[context]items

returns the list of all items with associated unit tests defined in the given context.

Details

  • If given a relative file path, will search for the given test file relative to the Tests folder.
  • Input
    Output
    General Options

Examples

Basic Examples  (3)

Get all items which have unit tests:

Get all items which have unit tests defined in a specific file:

Get all items which have unit tests defined in a specific Context:

Options  (7)

Output  (3)

Find all unit tests defined for strings:

Find all unit tests defined for symbols:

Find all unit tests defined for strings or symbols:

Platform  (1)

Return items which can run on the specified platform(s):

Skipped  (3)

True returns only skipped items:

False returns only non-skipped items:

All returns skipped and non-skipped items:

Applications  (1)

Find all private Symbols which have unit tests: