xcbeautify icon indicating copy to clipboard operation
xcbeautify copied to clipboard

Crashed tests doesn't count as failed

Open AllDmeat opened this issue 6 months ago • 1 comments

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)

AllDmeat avatar Dec 25 '23 14:12 AllDmeat