PyCharm 2021.2 Help

Export test results

Run tool window | Test Runner

Icons toolbar decorator export

The dialog opens when you execute your test and then click the Export Test Results button Icons toolbar decorator export 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
ItemDescription
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.

OutputIn this section, specify the target filename (File name), and directory (Folder).
Open exported file in browserSelect this checkbox to automatically open the above defined file with the test results in the default browser.
Last modified: 30 August 2021