Uploading Test Data
Last updated
Last updated
In the following, we provide an example of how to push your Test data into Logilica for storage and built-in analytics.
The cURL POST command is below. Note, that the POST command includes the example API token lgca_UeRxFs_3RYRJEJtdYp7j7Wa6DirG5NjiYslsb
and the example workspace myworkspace
. The command URL also includes a placeholder for the repoID to associate the uploaded issues with.
If you have any questions or run into issues, please contact us at support@logilica.com.
Create a test report
The ID of this test result.
The test ID this result belong to.
The commit hash this test result is associated to.
The branch of the commit this test result is associated to.
The name of the test run.
The outcome of the test results.
The outcome category (one of 'Pass, 'Failure', 'Skipped')
The duration of the test run in seconds.
If any, the failure message associated to a failed test.
Was the Test automated? (set to True if this field is not supplied).
true
UNIX timestamp of the test result.
List the label(s) this Test Result is associated to (e.g. environments).
The associated url.
Any other additional fields for this Test Result.
Related Pull Request (ID).
Create a commit test report
The repository service used.
The commit hash of the commit test report.
The person associated with the commit.
UNIX timestamp of the commit.
The branch the commit was committed on.
The state of the test report. (one of 'Complete', 'Pending', 'Error', 'Skipped')
Whether commit passed CI
Numbers of files covered in this test report.
Total number of lines covered in this test report.
Number of lines that was executed by the test.
Number of lines that was not fully executed by the test.
Number of lines that was not executed by the test.
The resulting percentage of coverage for this report.
List of files associated to this commit, and the coverage stats per file.
The associated url.