@circleci/circleci-config-sdk
Version:
An SDK for building CircleCI Configuration files with JavaScript.
36 lines • 1.56 kB
TypeScript
import { GenerableType } from '../../../../Config/exports/Mapping';
import { StringParameter } from '../../../Parameters/types';
import { CommandParameters, CommandShape } from '../../types/Command.types';
import { Command } from '../Command';
/**
* Special step used to upload and store test results for a build. Test results are visible on the CircleCI web application, under each build’s “Test Summary” section. Storing test results is useful for timing analysis of your test suites.
* @see {@link https://circleci.com/docs/configuration-reference#storetestresults}
*/
export declare class StoreTestResults implements Command {
parameters: StoreTestResultsParameters;
constructor(parameters: StoreTestResultsParameters);
/**
* Generate StoreTestResults Command shape.
* @returns The generated JSON for the StoreTestResults Commands.
*/
generate(): StoreTestResultsCommandShape;
get name(): StringParameter;
get generableType(): GenerableType;
}
/**
* Command parameters for the StoreTestResults command
*/
export interface StoreTestResultsParameters extends CommandParameters {
/**
* Path (absolute, or relative to your working_directory) to directory containing subdirectories of JUnit XML or Cucumber JSON test metadata files
*/
path: StringParameter;
}
/**
* Generated Shape of the StoreTestResults command.
*/
interface StoreTestResultsCommandShape extends CommandShape {
store_test_results: StoreTestResultsParameters;
}
export {};
//# sourceMappingURL=StoreTestResults.d.ts.map