a class that manages PolicyPlugin instances used to determine if tests should be run or skipped

Hierarchy

  • PolicyManager

Constructors

Properties

Methods

Constructors

Properties

_aftLogger: AftLogger
aftCfg: AftConfig
plugins: PolicyPlugin[]

Methods

  • iterates over all enabled IPolicyPlugin implementations calling shouldRun and if any of the results return false then a ShouldRunResult containing false and a reason comprised of all plugin reasons will be returned, otherwise true

    Parameters

    • testId: string

      the test case id to check

    Returns Promise<ProcessingResult<boolean>>

    a ShouldRunResult containing shouldRun=true if test should be run otherwise false and a reason stating why

Generated using TypeDoc