PyCharm 2023.3 Help

Export test results

Run tool window | Test Runner

The dialog opens when you execute your test and then click the Export Test Results button in the Test Runner tab of the Run tool window.

exporting test results

In this dialog, choose the format in which you want the test output saved and the file to save the test results in.

exporting test results dialog

Item

Description

Export format

In this area, choose the desired output format. The available options are:

  • HTML

  • XML

  • Custom, apply XSL template: choose this option to have the results presented according to your own code style. Select the relevant *.xsl code style definition file in the file chooser.

Output

In this section, specify the target filename (File name), and directory (Folder).

Open exported file in browser

Select this checkbox to automatically open the file defined above with the test results in the default browser.

Last modified: 11 February 2024