Closed anmarchenko closed 7 months ago
If you are finding the coverage is not what you expect, you might like to check this: https://github.com/ioquatix/covered/blob/v0.18.5/lib/covered/capture.rb#L23-L34
I found that you sometimes need to look at the call stack to figure out the coverage of sub-expressions.
@ioquatix thanks, I am keeping this in mind
for the current stage files coverage would be actually enough for the use case, then I'll have more time to dive deeper into lines coverage
Proof of concept for per test code coverage using TracePoint class to attach to
line
events. Works in files mode (tracking only source files executed) and lines mode (tracking files together with executed lines).Performance evaluation
Projects used to evaluate performance:
In the following table are durations of the whole test session in seconds, in brackets overhead percentage compared to run with datadog-ci.
*
*
overhead here is compared to "Simplecov (total coverage)"Relevant code