For example, suppose a test calls two actions: A and B. A performs an “unsuccessful” step by calling "Reporter.ReportEvent micFail, ... ”, and B performs the “passed” step by calling "Reporter.ReportEvent micpass, ... "
Reporter.RunStatus returns micFail as soon as the unsuccessful step was performed in A. Thus, even in B, when the status of B is completely “green”, it is impossible to say that in the “B” branch, there is no “unsuccessful” step. Test run status reported by Reporter.RunStatus ", then micFail .
So how can I get the current status of a branch?
I think what I'm looking for is the color (i.e., the execution status) of the current or current parent of the Reporter node.
source share