Class TestBuckConfig

    • Constructor Detail

      • TestBuckConfig

        public TestBuckConfig()
    • Method Detail

      • isParallelExternalTestSpecComputationEnabled

        @Lazy
        public boolean isParallelExternalTestSpecComputationEnabled()
      • getDefaultTestTimeoutMillis

        @Lazy
        public long getDefaultTestTimeoutMillis()
      • getDefaultRawExcludedLabelSelectors

        @Lazy
        public com.google.common.collect.ImmutableList<String> getDefaultRawExcludedLabelSelectors()
        Return Strings so as to avoid a dependency on LabelSelector!
      • getNumTestThreads

        @Lazy
        public int getNumTestThreads()
        Returns:
        the number of threads Buck should use for testing. This will use the test.threads setting if it exists. Otherwise, this will use the build parallelization settings if not configured.
      • getExternalTestRunner

        public Optional<com.google.common.collect.ImmutableList<String>> getExternalTestRunner()
      • getDefaultTestRuleTimeoutMs

        public Optional<Long> getDefaultTestRuleTimeoutMs()
        The timeout to apply to entire test rules.
      • isInclNoLocationClassesEnabled

        public boolean isInclNoLocationClassesEnabled()
      • getCoverageIncludes

        public Optional<com.google.common.collect.ImmutableList<String>> getCoverageIncludes()
      • getCoverageExcludes

        public Optional<com.google.common.collect.ImmutableList<String>> getCoverageExcludes()
      • isBuildingFilteredTestsEnabled

        public boolean isBuildingFilteredTestsEnabled()