@flxbl-io/sfp
Version:
sfp is a CLI tool to help you manage your Salesforce projects in an artifact centric model
25 lines (24 loc) • 840 B
TypeScript
import { Logger } from "@flxbl-io/sfp-logger";
import SfpPackage from "../../core/package/SfpPackage";
import { ValidationMode } from "./ValidateImpl";
export interface ApexTestValidatorOptions {
coverageThreshold?: number;
validationMode: ValidationMode;
disableParallelTestExecution?: boolean;
}
export declare class ApexTestValidator {
private targetUsername;
private sfpPackage;
private props;
private logger;
constructor(targetUsername: string, sfpPackage: SfpPackage, props: ApexTestValidatorOptions, logger: Logger);
validateApexTests(): Promise<{
id: string;
result: boolean;
message: string;
}>;
private getTestOptionsForFullPackageTest;
private getTestOptionsForDiffPackage;
private getTestOptionsForFastFeedBackPackage;
private displayTestHeader;
}