Interface RegressionGateRunner.Environment

Enclosing class:
RegressionGateRunner

public static interface RegressionGateRunner.Environment
Reads the outside world the lifecycle depends on. The production implementation comes from RegressionGateRunner.systemEnvironment(); tests construct their own so no real environment is touched.
  • Method Details

    • ci

      boolean ci()
      Returns:
      true on a CI runner (suppresses the no-baseline bootstrap write)
    • updateRequested

      boolean updateRequested()
      Returns:
      true when an out-of-band baseline update was requested (env var or system property)
    • verdictDir

      Path verdictDir()
      Returns:
      the directory the per-baseline verdict JSON (named for the baseline stem) is written to
    • log

      Returns:
      the sink for the one-time bootstrap / no-baseline banners and warnings