public class RunTestAndRecordResultStep extends Object implements Step
| Constructor and Description |
|---|
RunTestAndRecordResultStep(ProjectFilesystem filesystem,
com.google.common.collect.ImmutableList<String> command,
com.google.common.collect.ImmutableMap<String,String> env,
Optional<Long> testRuleTimeoutMs,
BuildTarget buildTarget,
Path pathToTestResultFile,
String shortName,
String testName) |
| Modifier and Type | Method and Description |
|---|---|
StepExecutionResult |
execute(ExecutionContext context) |
String |
getDescription(ExecutionContext context) |
String |
getShortName() |
protected TestResultSummary |
getTestSummary(ExecutionContext context)
Run whatever binaries are necessary, and return a
TestResultSummary explaining the
outcome |
public RunTestAndRecordResultStep(ProjectFilesystem filesystem, com.google.common.collect.ImmutableList<String> command, com.google.common.collect.ImmutableMap<String,String> env, Optional<Long> testRuleTimeoutMs, BuildTarget buildTarget, Path pathToTestResultFile, String shortName, String testName)
public String getShortName()
getShortName in interface Steppublic String getDescription(ExecutionContext context)
getDescription in interface Stepprotected TestResultSummary getTestSummary(ExecutionContext context) throws IOException, InterruptedException
TestResultSummary explaining the
outcomeIOExceptionInterruptedExceptionpublic StepExecutionResult execute(ExecutionContext context) throws IOException, InterruptedException
execute in interface StepIOExceptionInterruptedException