@nevware21/tripwire - v0.1.8
    Preparing search index...

    Function findMatchingTests

    Export filter helpers

    • Finds all test cases that match the given filter criteria. This is a convenience method that only returns matching tests.

      Parameters

      • rootSuite: ITestSuite

        The root suite to search through

      • filter: ITestFilter

        The filter to apply for determining matches

      Returns ITestCase[]

      Array of matched test cases

      0.2.0

      const filter = createTestIDFilter(["test-1", "test-2"]);
      const tests = findMatchingTests(rootSuite, filter);