Test summary troubleshooting

The test summary in the UI is a place where we display some basic information about tests such as which tests failed, or what the slowest tests were. For basic configuration to set up the test summary you can view our docs. This document will outline some caveats, limitations, and common issues people run into when trying to get the test summary working.

 

Ensure test reports are in supported format

Currently, we support JUnit XML and Cucumber JSON formats.

To note, there is not one official schema or standard for JUnit.
Each test reporting tool may output their JUnit XML reports differently. This can cause some issues, in particular to our test-splitting feature.

To split tests by timing, each <testcase> element in the JUnit XML report should include the following attributes:

  • file : file path of the test file which the test case can be found in
  • name : name of the test case
  • time : time taken for the test case to complete
  • classname : class name of the test case 

Report files must be in a subfolder

Test data must be inside a subfolder of whatever path is provided to store_test_results

If their path is set to test-results then the test report file must be in a subfolder of test-results, and not directly within it. For example: test-results/somefolder/report.xml

 

Subfolders cannot be hidden folders

Test data subfolders cannot be hidden folders. test-results/.somefolder/report.xml would be ignored by our system.

 

Test files cannot be larger than 15MB

Test files larger than 15MB will fail to upload.
Note that this upload failure will not show up in the build Ui.
Instead, it fails silently in the background. 

 

 

Was this article helpful?
6 out of 26 found this helpful

Comments

0 comments

Please sign in to leave a comment.