html-reporter
Version:
Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.
106 lines (105 loc) • 2.99 kB
TypeScript
export declare const DB_TYPES: {
readonly int: "INT";
readonly text: "TEXT";
};
export declare const DB_COLUMNS: {
readonly SUITE_PATH: "suitePath";
readonly SUITE_NAME: "suiteName";
readonly NAME: "name";
readonly SUITE_URL: "suiteUrl";
readonly META_INFO: "metaInfo";
readonly HISTORY: "history";
readonly DESCRIPTION: "description";
readonly ERROR: "error";
readonly SKIP_REASON: "skipReason";
readonly IMAGES_INFO: "imagesInfo";
readonly SCREENSHOT: "screenshot";
readonly MULTIPLE_TABS: "multipleTabs";
readonly STATUS: "status";
readonly TIMESTAMP: "timestamp";
readonly DURATION: "duration";
readonly ATTACHMENTS: "attachments";
};
export declare const SUITES_TABLE_COLUMNS: readonly [{
readonly name: "suitePath";
readonly type: "TEXT";
}, {
readonly name: "suiteName";
readonly type: "TEXT";
}, {
readonly name: "name";
readonly type: "TEXT";
}, {
readonly name: "suiteUrl";
readonly type: "TEXT";
}, {
readonly name: "metaInfo";
readonly type: "TEXT";
}, {
readonly name: "history";
readonly type: "TEXT";
}, {
readonly name: "description";
readonly type: "TEXT";
}, {
readonly name: "error";
readonly type: "TEXT";
}, {
readonly name: "skipReason";
readonly type: "TEXT";
}, {
readonly name: "imagesInfo";
readonly type: "TEXT";
}, {
readonly name: "screenshot";
readonly type: "INT";
}, {
readonly name: "multipleTabs";
readonly type: "INT";
}, {
readonly name: "status";
readonly type: "TEXT";
}, {
readonly name: "timestamp";
readonly type: "INT";
}, {
readonly name: "duration";
readonly type: "INT";
}, {
readonly name: "attachments";
readonly type: "TEXT";
}];
export declare const DB_VERSION_TABLE_NAME = "version";
export declare const VERSION_TABLE_COLUMNS: readonly [{
readonly name: "version_number";
readonly type: "INT";
}];
export type LabeledVersionRow = {
[]['name']]: string;
};
export declare const DB_CURRENT_VERSION = 1;
export declare const DB_MAX_AVAILABLE_PAGE_SIZE = 65536;
export declare const DB_SUITES_TABLE_NAME = "suites";
export declare const LOCAL_DATABASE_NAME = "sqlite.db";
export declare const DATABASE_URLS_JSON_NAME = "databaseUrls.json";
interface DbColumnIndexes {
[]: 0;
[]: 1;
[]: 2;
[]: 3;
[]: 4;
[]: 5;
[]: 6;
[]: 7;
[]: 8;
[]: 9;
[]: 10;
[]: 11;
[]: 12;
[]: 13;
[]: 14;
[]: 15;
}
export declare const DB_COLUMN_INDEXES: DbColumnIndexes;
export declare const DB_FILE_EXTENSION = ".db";
export {};