title: Exclude SwiftUI previews from code coverage?
body: <p>I'm having trouble getting my code coverage up to min. 90% because XCode takes the PreviewProvider into account.</p>
  <p>What should I do? Remove all the SwiftUI previews? Or is there a way I can exclude some lines with 'PreviewProvider' keywords etc.</p>
  <p>Xcode ver 12.0
  Jenkins for CI
  slather &amp; cobertura for code coverage</p>
  <p>Side question, there is no official test suite available for unit testing SwiftUI components. Do you guys not test them at all, or use third party libraries? I've been using ViewInspector but i dislike that to track the updated state of the component, I need to include testing code in the actual codebase itself.</p>