mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 08:03:19 +00:00
The test results toolbar and Find Action get Export Test Results…: a dialog with HTML or XML format, the output file (default "<working directory>/Test Results - <configuration>.html") and an option to open the HTML report in the browser. HTML is a self-contained report (summary, suites, per-test status, duration, output and location, no scripts); XML uses the <testrun> format with count, suite, test, output and expected/actual diff. An existing file is replaced only after confirmation. Both entry points are disabled while tests run and when there are no results. Closes #4412 Co-authored-by: mansur-akhmadi <10739460+mansur-akhmadi@users.noreply.github.com>
15 lines
475 B
TypeScript
15 lines
475 B
TypeScript
/** Context key: the test results tree has focus. */
|
|
export const TEST_TREE_FOCUS = "testTreeFocus";
|
|
|
|
/** Set while a test results tree is shown: Expand All / Collapse All / Export Test Results act on it. */
|
|
export const testTree: {
|
|
expandAll: (() => void) | null;
|
|
collapseAll: (() => void) | null;
|
|
/** Null while the run is in progress or has no results. */
|
|
exportResults: (() => void) | null;
|
|
} = {
|
|
expandAll: null,
|
|
collapseAll: null,
|
|
exportResults: null,
|
|
};
|