You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running tests on my own SPM coverage report is showing some invalid info.
Not sure why it includes additional dependencies like Alamofire and it is showing coverage for... Test Files :)
On Xcode you are probably using "gather coverage for - all targets".
I also use that since "some targets" doesn't work sometimes.
I also use "exclude_targets" to remove the unwanted targets.
You could do something like: xcov( ignore_file_path: ".xcovignore", exclude_targets: "Alamofire,BetterCodable", minimum_coverage_percentage: 80.0, output_directory: "./xcov_report", scheme: "MainAppScheme" )
While running tests on my own SPM coverage report is showing some invalid info.
Not sure why it includes additional dependencies like Alamofire and it is showing coverage for... Test Files :)
+------------------------------+---------+
| xcov Coverage Report |
+------------------------------+---------+
| Alamofire | 0.00% |
| BetterCodable | 0.00% |
| CryptoSwift | 0.00% |
| CwlCatchException | 0.00% |
| CwlCatchExceptionSupport | 0.00% |
| CwlMachBadInstructionHandler | 0.00% |
| CwlPreconditionTesting | 0.00% |
| IOSSecuritySuite | 0.00% |
| XYZConfig | 37.80% |
| XYZConfigTests | 100.00% |
| XYZExtensions | 2.29% |
| XYZExtensionsTests | 99.87% |
| XYZModels | 0.00% |
| XYZModelsTests | 100.00% |
| XYZProtocols | 35.29% |
| XYZProtocolsTests | 100.00% |
| XYZTools | 0.00% |
| XYZToolsTests | 100.00% |
| XYZTranslations | 72.73% |
| XYZTranslationsTests | 100.00% |
| XYZViews | 0.00% |
| XYZViewsTests | 100.00% |
| JWTDecode | 0.00% |
| KeychainAccess | 0.00% |
| Nimble | 6.56% |
| Quick | 54.05% |
| QuickObjCRuntime | 100.00% |
| SwiftyBeaver | 0.00% |
| Average Coverage | 36.02% |
+------------------------------+---------+
The text was updated successfully, but these errors were encountered: