public class PythonTestX extends AbstractBuildRuleWithDeclaredAndExtraDeps implements TestXRule, HasRuntimeDeps, ExternalTestRunnerRule
It cannot be run via buck's internal runners.
TestRule.TestReportingCallback
TEST_BINARY_OUTPUT
NOOP_REPORTING_CALLBACK
Modifier and Type | Method and Description |
---|---|
static PythonTestX |
from(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
PythonBinary binary,
com.google.common.collect.ImmutableSet<String> labels,
com.google.common.collect.ImmutableSet<String> contacts,
CoercedTestRunnerSpec specs) |
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
com.google.common.collect.ImmutableSet<String> |
getContacts() |
com.google.common.collect.ImmutableSet<String> |
getLabels() |
Path |
getPathToTestOutputDirectory() |
java.util.stream.Stream<BuildTarget> |
getRuntimeDeps(BuildRuleResolver buildRuleResolver) |
SourcePath |
getSourcePathToOutput() |
CoercedTestRunnerSpec |
getSpecs() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExternalTestRunnerSpec, getSourcePathToSupplementaryOutput, interpretTestResults, onPreTest, runTests, runTestSeparately, shouldNotBeCalled, supportsStreamingTests
compareTo, getBuildDeps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
public static PythonTestX from(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, PythonBinary binary, com.google.common.collect.ImmutableSet<String> labels, com.google.common.collect.ImmutableSet<String> contacts, CoercedTestRunnerSpec specs)
public com.google.common.collect.ImmutableSet<String> getLabels()
public com.google.common.collect.ImmutableSet<String> getContacts()
getContacts
in interface TestRule
public Path getPathToTestOutputDirectory()
getPathToTestOutputDirectory
in interface TestRule
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps
in interface BuildRule
@Nullable public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
public java.util.stream.Stream<BuildTarget> getRuntimeDeps(BuildRuleResolver buildRuleResolver)
getRuntimeDeps
in interface HasRuntimeDeps
public CoercedTestRunnerSpec getSpecs()