public class PythonTestX extends AbstractBuildRuleWithDeclaredAndExtraDeps implements TestXRule, HasRuntimeDeps, ExternalTestRunnerRule
It cannot be run via buck's internal runners.
TestRule.TestReportingCallbackTEST_BINARY_OUTPUTNOOP_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, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExternalTestRunnerSpec, getSourcePathToSupplementaryOutput, interpretTestResults, onPreTest, runTests, runTestSeparately, shouldNotBeCalled, supportsStreamingTestscompareTo, getBuildDeps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypepublic 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 TestRulepublic Path getPathToTestOutputDirectory()
getPathToTestOutputDirectory in interface TestRulepublic com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps in interface BuildRule@Nullable public SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRulepublic java.util.stream.Stream<BuildTarget> getRuntimeDeps(BuildRuleResolver buildRuleResolver)
getRuntimeDeps in interface HasRuntimeDepspublic CoercedTestRunnerSpec getSpecs()