Cached pods code coverage #404
-
|
Hello! We use Rugby for pre-compile and reuse all our development and 3rd party pods in CI test jobs. Now we would like to collect code coverage, but we are faced with difficulties because the test plan "Gather coverage" applies only to the targets available in the scheme (which missed cached ones), which is why we get code coverage only for code outside of Pods (application target). Сould you recommend something in this case? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
@kattouf Hello! Is this topic relevant for now? Anyway, I think you need some kind of test impact analysis.
You can try to use Also, this way can't calculate code coverage between different pods. |
Beta Was this translation helpful? Give feedback.
@kattouf Hello! Is this topic relevant for now?
Anyway, I think you need some kind of test impact analysis.
Then, to do something like this:
You can try to use
rugby _test impact:https://github.com/swiftyfinch/Rugby/blob/main/Docs/commands-help/test/impact.md
Also, this way can't calculate code coverage between different pods.
It's a disadvantage on the one hand, but on the other hand, it might be OK to skip code coverage for integration tests.