Issue with Xcode Test step and coverage information


#1

Starting today, after my tests run (and pass), I am seeing tons and tons of this stuff across all my test targets:

2019/01/10 08:43:10 no activity summaries found for test: map[TestSummaryGUID:74739B9C-8F28-4832-8F22-E9498A218500 Duration:%!s(float64=0.03783893585205078) TestIdentifier:AbilityAPITests/testGetAbilities() TestName:testGetAbilities() TestObjectClass:IDESchemeActionTestSummary TestStatus:Success]

2019/01/10 08:43:10 no activity summaries found for test: map[TestSummaryGUID:CE0EE96A-A654-4A46-90E1-1C7BD49DA52A Duration:%!s(float64=0.00752103328704834) TestIdentifier:AbilityAPITests/testGetAbilitiesEmpty() TestName:testGetAbilitiesEmpty() TestObjectClass:IDESchemeActionTestSummary TestStatus:Success]

2019/01/10 08:43:10 no activity summaries found for test: map[Duration:%!s(float64=0.018869996070861816) TestIdentifier:AddOnAPITests/testGetAddOns() TestName:testGetAddOns() TestObjectClass:IDESchemeActionTestSummary TestStatus:Success TestSummaryGUID:DF903AA5-6CF9-4FB0-810C-7547E8C9815C]

Then I have Danger-xcov run and it says there’s no coverage information.


#2

Hey @rwalberg, thanks for the report!

Could you send us a build URL about this occurance please?


#3

You bet.


#4

As of today, I am no longer seeing those weird messages in the logs, but Danger-xcov is still complaining that there’s no coverage information.


#5

My mistake, I had unchecked “Export UITest Artifacts” (we’re not using UITest) and that is what caused those errors to go away.

Perhaps that’s a clue as to why the coverage information is missing? It’s considered an artifact that isn’t being found?

Let me know if I can be of any more assistance. This really sucks that it isn’t working. Danger-xcov has been a valuable asset in our build pipeline.

UPDATE: I fixed it by reverting the version of the “Xcode Test for iOS” back from Latest (2.1.0) to 2.0.0. I’ll file an issue on their GitHub. The problem started right when that release was done.