Code editor for user interface component testing
Assigneesalesforce.com, inc.
InventorsXiaoyi Chen, Billy Ma, William Braden Hays
Life of this patent
Estimating the term…
Abstract
A system for conducting user interface (UI) software component testing has been developed. The test of the UI software component is initiated and a display of the test results are shown to a user in a browser used in the testing. A code editor used for debugging by the user receives the test results from the browser and presents the test results to the user for debugging. The browser webview and the code editor are simultaneously displayed to the user in a dual screencast window during the UI software testing.
Claims11
A system for conducting user interface (UI) software component testing, the system comprising:
- a processor;
- a memory;
- a browser for use in testing a UI software component, where the test of the UI software component is initiated and a display of test results are shown to a user in the browser;
- a code editor for debugging by the user, where the code editor receives the test results from the browser and presents the test results to the user for debugging;
- a code editor extension which parses code of the UI software component and obtains information necessary for test execution comprising, test uniform resource locator (URL) files, test names, and test locations located within the code of the UI software component;
- where the browser and the code editor are simultaneously and continuously displayed side by side to the user in a dual screencast window during the UI software testing;
- where the code editor initiates debugging while simultaneously referencing the test results shown in the browser, and
- where the browser is a headless browser,
- where the code editor is an inline code editor;
- where the code editor utilizes an application programming interface (API) and where the API is extensible.
A computer-implemented method for conducting user interface (UI) software component testing, the method comprising:
- launching a code editor extension which parses code of the UI software component and obtains information necessary for test execution comprising, test uniform resource locator (URL) files, test names, and test locations located within the code of the UI software component;
- displaying testing actions with a screencast from the code editor;
- setting testing breakpoints at various locations in the code of the UI software component;
- launching a browser with a debugging port;
- launching a webview with the code editor;
- displaying UI software component testing progress to a user with a screencast from the browser of the webview, where the browser and the code editor are simultaneously and continuously displayed side by side to the user in a dual screencast window during the UI software component testing;
- launching a debug configuration with the code editor with the test information and attaching to the debugging port of the browser;
- navigating to a test uniform resource locater (URL) with the browser from parsed test information;
- collecting test results with the browser;
- presenting the test results in the code editor to the user;
- and
- initiating debugging with the code editor while simultaneously referencing the test results shown in the browser,
- where the browser is a headless browser,
- where the code editor is an inline code editor, and
- where the code editor utilizes an extensible application programming interface (API).
Dependencies are inferred from the claim text.