BVS's avatar
BVS
Occasional Contributor
5 years ago
Status:
New Idea

Adding the «Interrupted» property to the Log object

Adding the «Interrupted» property to the Log object allow you to correctly interpret the test results, when the run was interrupted manually and OnStopTest event is triggered.

For example: automatically transfer test result in test management system by API when test completed, and not transfer it, when test was interrupted manually .

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    As an addition:

    Interrupted property might be not a boolean flag, but a kind of enum instead to distinguish situations like: execution was interrupted by the user, execution was interrupted by runtime error (e.g. division by zero, incorrect test code function call, etc.) and so on.

     

  • BVS's avatar
    BVS
    Occasional Contributor

    There are many realization variants. The property can be named "TestExecutionState" and it can be part of the Runner object.