cpisciotta / xcbeautify

A little beautifier tool for xcodebuild
MIT License
947 stars 67 forks source link

Crashed tests doesn't count as failed #175

Open AllDmeat opened 8 months ago

AllDmeat commented 8 months ago

I've run following command:

xcodebuild test-without-building
-derivedDataPath DerivedData
-destination 'platform=iOS Simulator,id=A62F5EFD-8F69-4949-AD9C-1FDF7242BF34'
-xctestrun DerivedData/Build/Products/UnitTestsScheme_Regress_iphonesimulator16.4-arm64.xctestrun
-resultBundlePath 'Builds/UnitTestsScheme-Regress-14685-1.xcresult' 
-collect-test-diagnostics never 
| xcbeautify

One test crashed with following logs:

❌ NSpry/Constant.swift:10: 
 --- FATAL ERROR: No return value found ---
  → Stubbable: DeferredIntervalsImportServiceMock
    ✖ Restarting after unexpected exit, crash, or test timeout in CheckoutInteractorIntegrationalTests.test_hasSelectedPizzeriaWithDeferredTimeError_whenSelectNewPizzeria_shouldRemoveTimeError(); summary will include totals from previous launches.

Nevetheless xcbeautify stated following:

Tests Passed: 0 failed, 0 skipped, 4391 total (123.835 seconds)
github-actions[bot] commented 7 months ago

Hola 👋,

We want to inform you that the issue has been marked as stale. This means that there hasn't been any activity or updates on it for quite some time, and it's possible that it may no longer be relevant or actionable. If you still believe that this issue is valid and requires attention, please provide an update or any additional information that can help us address it. Otherwise, we may consider closing it in the near future. Thank you for your understanding.