@flxbl-io/sfp
Version:
sfp is a CLI tool to help you manage your Salesforce projects in an artifact centric model
35 lines (34 loc) • 1.37 kB
TypeScript
import SfpPackage from '../package/SfpPackage';
export declare class TestOptions {
synchronous?: boolean;
wait_time: number;
outputdir: string;
testLevel: TestLevel;
}
export declare class RunSpecifiedTestsOption extends TestOptions {
specifiedTests: string;
constructor(wait_time: number, outputdir: string, specifiedTests: string, synchronous?: boolean);
}
export declare class RunApexTestSuitesOption extends TestOptions {
suiteNames: string;
constructor(wait_time: number, outputdir: string, suiteNames: string, pkg?: string, synchronous?: boolean);
}
export declare class RunLocalTests extends TestOptions {
constructor(wait_time: number, outputdir: string, synchronous?: boolean);
}
export declare class RunAllTestsInOrg extends TestOptions {
constructor(wait_time: number, outputdir: string, synchronous?: boolean);
}
export declare class RunAllTestsInPackageOptions extends RunSpecifiedTestsOption {
private _sfppackage;
constructor(_sfppackage: SfpPackage, wait_time: number, outputdir: string);
get sfppackage(): SfpPackage;
}
export declare enum TestLevel {
RunNoTests = "NoTestRun",
RunSpecifiedTests = "RunSpecifiedTests",
RunApexTestSuite = "RunApexTestSuite",
RunLocalTests = "RunLocalTests",
RunAllTestsInOrg = "RunAllTestsInOrg",
RunAllTestsInPackage = "RunAllTestsInPackage"
}