• Wraps a test name with a unique identifier and label it with the given ids.

    Parameters

    • testname: string

      the name of the test (it) to be labeled

    • ids: readonly SupportedFlowrCapabilityId[]

      the capability ids to attach to the test

    • context: readonly (
          | "other"
          | "slice"
          | "dataflow"
          | "lineage"
          | "parse"
          | "query"
          | "output"
          | "desugar")[]

      the context in which the test is run, if not given this returns the label information for a test-helper to attach it

    Returns string

  • Parameters

    • testname: string
    • Optionalids: readonly SupportedFlowrCapabilityId[]
    • Optionalcontext: readonly (
          | "other"
          | "slice"
          | "dataflow"
          | "lineage"
          | "parse"
          | "query"
          | "output"
          | "desugar")[]

    Returns TestLabel