openlayer.ProjectVersion#
- class openlayer.ProjectVersion(json, client)#
An object containing information about a project version on the Openlayer platform.
This object is returned by the
openlayer.OpenlayerClient.push()andopenlayer.OpenlayerClient.load_project_version()methods.Refer to
openlayer.OpenlayerClient.load_project_version()for an example of how to use the object.Attributes
failing_test_countReturns the number of failing tests for the project version.
passing_test_countReturns the number of passing tests for the project version.
skipped_test_countReturns the number of failing tests for the project version.
statusReturns the current state of the project version.
status_messageReturns the status message of the project version.
total_test_countReturns the number of failing tests for the project version.
Methods
print_status_report()Prints the status report along with its status message.
print_test_report()Prints the test results of the project version.
refresh()Refreshes the project version object with the latest information from the server.
to_dict()Returns object properties as a dict.
wait_for_completion([timeout])Waits for the project version to complete.