Module trial.filter

A module containing the logic used to select tests by name

Functions

NameDescription
matchesFilter(text, filter) Checks if a test name is selected by the given filter
parseLocation(at) Parses a --at value shaped like file.d:42
selectAt(tests, at) Selects the tests enclosing the file:line location, or all tests when it is empty
selectTests(tests, arguments) Selects the tests matching the run arguments
usedFilters(arguments) Lists the filters given in the run arguments as command line flags