Closed jubianchi closed 10 years ago
mark_line
and mark_cond
were just present for the POC. There are going to be deleted.
Ok but if you deleted those two functions, how would you mark covered lines/conditionals ?
With others functions and with another API ;-). I will mimic a control flow graph with markers.
Using Hywan/atoum-instrumentation@25829d0
Given the following source code:
I get the following instrumented code:
I think the
mark_line
method should be called before the line it marks is executed because, if this line throws an error, it won't be marked as covered even if it was in fact.