Class SpecTestDiscovery

The default test discovery looks for unit test sections and groups them by module

class SpecTestDiscovery
  : ITestDiscovery;

Fields

NameTypeDescription
moduleNames string[]The modules added with addModule, whose Specs getTestCases returns

Methods

NameDescription
addModule () Records the module whose Specs will be returned
getTestCases () Returns the Specs of the added modules as TestCase structure