diff --git a/.slather.yml b/.slather.yml index 322b84775fd..b6679da276d 100644 --- a/.slather.yml +++ b/.slather.yml @@ -6,3 +6,6 @@ workspace: Sentry.xcworkspace scheme: Sentry source_directory: Sources output_directory: slather +ignore: + - '**/Tests/**' + - '**/SentryTestUtils/**' diff --git a/Plans/SentrySwiftUI_Base.xctestplan b/Plans/SentrySwiftUI_Base.xctestplan index 4d7a180d7cf..b3f18022643 100644 --- a/Plans/SentrySwiftUI_Base.xctestplan +++ b/Plans/SentrySwiftUI_Base.xctestplan @@ -9,6 +9,20 @@ } ], "defaultOptions" : { + "codeCoverage" : { + "targets" : [ + { + "containerPath" : "container:Sentry.xcodeproj", + "identifier" : "D8199DA929376E9B0074249E", + "name" : "SentrySwiftUI" + }, + { + "containerPath" : "container:Sentry.xcodeproj", + "identifier" : "63AA759A1EB8AEF500D153DE", + "name" : "Sentry" + } + ] + }, "uiTestingScreenshotsLifetime" : "keepAlways" }, "testTargets" : [ diff --git a/Plans/SentryTests_Base.xctestplan b/Plans/SentryTests_Base.xctestplan index 5edbbd0c8bd..f01304b02bf 100644 --- a/Plans/SentryTests_Base.xctestplan +++ b/Plans/SentryTests_Base.xctestplan @@ -9,7 +9,20 @@ } ], "defaultOptions" : { - "codeCoverage" : false, + "codeCoverage" : { + "targets" : [ + { + "containerPath" : "container:Sentry.xcodeproj", + "identifier" : "63AA759A1EB8AEF500D153DE", + "name" : "Sentry" + }, + { + "containerPath" : "container:Sentry.xcodeproj", + "identifier" : "D8199DA929376E9B0074249E", + "name" : "SentrySwiftUI" + } + ] + }, "uiTestingScreenshotsLifetime" : "keepAlways" }, "testTargets" : [ diff --git a/Plans/Sentry_Base.xctestplan b/Plans/Sentry_Base.xctestplan index 37131ed39e8..533634414e3 100644 --- a/Plans/Sentry_Base.xctestplan +++ b/Plans/Sentry_Base.xctestplan @@ -9,6 +9,20 @@ } ], "defaultOptions" : { + "codeCoverage" : { + "targets" : [ + { + "containerPath" : "container:Sentry.xcodeproj", + "identifier" : "63AA759A1EB8AEF500D153DE", + "name" : "Sentry" + }, + { + "containerPath" : "container:Sentry.xcodeproj", + "identifier" : "D8199DA929376E9B0074249E", + "name" : "SentrySwiftUI" + } + ] + }, "environmentVariableEntries" : [ { "key" : "TSAN_OPTIONS", diff --git a/Plans/SwiftUITestSample_Base.xctestplan b/Plans/SwiftUITestSample_Base.xctestplan index 33cb41633c5..ca8831db84b 100644 --- a/Plans/SwiftUITestSample_Base.xctestplan +++ b/Plans/SwiftUITestSample_Base.xctestplan @@ -9,6 +9,7 @@ } ], "defaultOptions" : { + "codeCoverage" : false, "uiTestingScreenshotsLifetime" : "keepAlways" }, "testTargets" : [ diff --git a/Plans/iOS-ObjectiveC_Base.xctestplan b/Plans/iOS-ObjectiveC_Base.xctestplan index aa08a7508ac..5a8d097399e 100644 --- a/Plans/iOS-ObjectiveC_Base.xctestplan +++ b/Plans/iOS-ObjectiveC_Base.xctestplan @@ -9,6 +9,7 @@ } ], "defaultOptions" : { + "codeCoverage" : false, "uiTestingScreenshotsLifetime" : "keepAlways" }, "testTargets" : [ diff --git a/Plans/iOS-Swift6_Base.xctestplan b/Plans/iOS-Swift6_Base.xctestplan index b3ed0de6e7e..99da4148c35 100644 --- a/Plans/iOS-Swift6_Base.xctestplan +++ b/Plans/iOS-Swift6_Base.xctestplan @@ -9,6 +9,7 @@ } ], "defaultOptions" : { + "codeCoverage" : false, "uiTestingScreenshotsLifetime" : "keepAlways" }, "testTargets" : [ diff --git a/Plans/iOS-Swift_Base.xctestplan b/Plans/iOS-Swift_Base.xctestplan index 09c1c52347b..a4ead3042a3 100644 --- a/Plans/iOS-Swift_Base.xctestplan +++ b/Plans/iOS-Swift_Base.xctestplan @@ -9,6 +9,7 @@ } ], "defaultOptions" : { + "codeCoverage" : false, "commandLineArgumentEntries" : [ { "argument" : "--io.sentry.disable-everything", diff --git a/Plans/iOS15-SwiftUI.xctestplan b/Plans/iOS15-SwiftUI.xctestplan index 314f4104d00..4bb3bf1610d 100644 --- a/Plans/iOS15-SwiftUI.xctestplan +++ b/Plans/iOS15-SwiftUI.xctestplan @@ -9,6 +9,7 @@ } ], "defaultOptions" : { + "codeCoverage" : false, "uiTestingScreenshotsLifetime" : "keepAlways" }, "testTargets" : [ diff --git a/Plans/macOS-SwiftUI_Base.xctestplan b/Plans/macOS-SwiftUI_Base.xctestplan index 0125f11968a..9300a16636f 100644 --- a/Plans/macOS-SwiftUI_Base.xctestplan +++ b/Plans/macOS-SwiftUI_Base.xctestplan @@ -9,6 +9,7 @@ } ], "defaultOptions" : { + "codeCoverage" : false, "uiTestingScreenshotsLifetime" : "keepAlways" }, "testTargets" : [ diff --git a/Plans/visionOS-Swift_Base.xctestplan b/Plans/visionOS-Swift_Base.xctestplan index 85b473b7523..6f0dcdf7dd1 100644 --- a/Plans/visionOS-Swift_Base.xctestplan +++ b/Plans/visionOS-Swift_Base.xctestplan @@ -9,6 +9,7 @@ } ], "defaultOptions" : { + "codeCoverage" : false, "uiTestingScreenshotsLifetime" : "keepAlways" }, "testTargets" : [