Replies: 1 comment 2 replies
-
I don't think there is. Technically, these files are a part of your project but yeah, I can see the confusion. I wouldn't mind us automatically ignoring these files from the code coverage but can one even do that inside Xcode? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a project generated with tuist. I’ve configured a custom scheme for testing, that includes all test targets and sets
coverage
totrue
. Additionally I’ve setcodeCoverageTargets
to all non test targets.Now when I run the test, almost everything works as expected and the coverage report is created, but I can also see the auto-generated
swift
files from theDerived
folder appear as uncovered files in the coverage report (e.g.TuistBundle+MyApp.swift
0%
). Is there any way how to exclude those files from the coverage report?Beta Was this translation helpful? Give feedback.
All reactions