Skip to content

github action でUnit テストを回すための yaml 作成 #6

github action でUnit テストを回すための yaml 作成

github action でUnit テストを回すための yaml 作成 #6

GitHub Actions / Xcode test results failed Jan 23, 2024 in 0s

Xcode test results

Testing project ios-training-bjung with scheme ios-training-bjung

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
1210200112.21s

Test Summary

ios-training-bjungTests

  • Device: iPhone 14, 16.2 (20C52)
  • SDK: Simulator - iOS 16.2, 16.2
TestTotalSuccessFailureSkippedExpected Failure
test-class HomePresenterTests22000
test-class ios_training_bjungTests42200

ios-training-bjungUITests

  • Device: iPhone 14, 16.2 (20C52)
  • SDK: Simulator - iOS 16.2, 16.2
TestTotalSuccessFailureSkippedExpected Failure
test-class ios_training_bjungUITests22000
test-class ios_training_bjungUITestsLaunchTests44000

Failure Failures

ios-training-bjungTests/ios_training_bjungTests/testMapperJsonDecoder()

File/Users/runner/work/ios-training-bjung/ios-training-bjung/ios-training-bjungTests/ios_training_bjungTests.swift:141
Issue TypeAssertion Failure
MessageXCTAssertEqual failed: ("WeatherResponse(minTemperature: 7, maxTemperature: 25, weatherCondition: "cloudy", date: 2020-04-01 03:00:00 +0000)") is not equal to ("WeatherResponse(minTemperature: 7, maxTemperature: 25, weatherCondition: "cloudy", date: 2020-04-01 12:00:00 +0000)")

ios-training-bjungTests/ios_training_bjungTests/testMapperJsonEncoder()

File/Users/runner/work/ios-training-bjung/ios-training-bjung/ios-training-bjungTests/ios_training_bjungTests.swift:126
Issue TypeAssertion Failure
MessageXCTAssertEqual failed: ("{"area":"Tokyo","date":"2020-04-01T21:00:00+09:00"}") is not equal to ("{"area":"Tokyo","date":"2020-04-01T12:00:00+09:00"}")

Details

Test Details

ios-training-bjungTestsback

HomePresenterTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)1.65s
Successtest-method testHomePresenterLoadWeatherData()
Successtest-method testPerformanceExample()

ios_training_bjungTests back

SuccessFailureSkippedExpected Failure⏱️
2 (50%)2 (50%)0 (0%)0 (0%)0.26s
Successtest-method testHomeViewLoadWeatherData()
Failuretest-method testMapperJsonDecoder()back
Failuretest-method testMapperJsonEncoder()back
Successtest-method testPerformanceExample()

ios-training-bjungUITestsback

ios_training_bjungUITests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)100.07s
Successtest-method testExample()

Activities:
  • Start Test at 2024-01-23 02:40:11.905
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open bjung.ios-training-bjung
    • Launch bjung.ios-training-bjung
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Tear Down
Successtest-method testLaunchPerformance()

Activities:
  • Start Test at 2024-01-23 02:40:25.684
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.
  • Set Up
  • Open bjung.ios-training-bjung
    • Launch bjung.ios-training-bjung
      • Terminate bjung.ios-training-bjung:3868
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Open bjung.ios-training-bjung
    • Launch bjung.ios-training-bjung
      • Terminate bjung.ios-training-bjung:3926
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Open bjung.ios-training-bjung
    • Launch bjung.ios-training-bjung
      • Terminate bjung.ios-training-bjung:4058
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Open bjung.ios-training-bjung
    • Launch bjung.ios-training-bjung
      • Terminate bjung.ios-training-bjung:4070
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Open bjung.ios-training-bjung
    • Launch bjung.ios-training-bjung
      • Terminate bjung.ios-training-bjung:4084
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Open bjung.ios-training-bjung
    • Launch bjung.ios-training-bjung
      • Terminate bjung.ios-training-bjung:4093
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Tear Down

ios_training_bjungUITestsLaunchTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)10.23s
SuccessSuccess test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIDeviceOrientation: 1

Activities:
  • Setting device orientation to Portrait

    • Wait for com.apple.springboard to idle
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.

  • Setting appearance mode to Light

    • Wait for com.apple.springboard to idle
  • Start Test at 2024-01-23 02:40:49.986

  • Set Up

  • Open bjung.ios-training-bjung

    • Launch bjung.ios-training-bjung
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Find the Target Application 'bjung.ios-training-bjung'

  • Added attachment named 'Launch Screen'

    attachment
  • Tear Down

Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIDeviceOrientation: 4

Activities:
  • Setting device orientation to Landscape Right

    • Wait for bjung.ios-training-bjung to idle
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.

  • Setting appearance mode to Light

    • Wait for bjung.ios-training-bjung to idle
  • Start Test at 2024-01-23 02:40:58.143

  • Set Up

  • Open bjung.ios-training-bjung

    • Launch bjung.ios-training-bjung
      • Terminate bjung.ios-training-bjung:4060
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Find the Target Application 'bjung.ios-training-bjung'

  • Added attachment named 'Launch Screen'

    attachment
  • Tear Down

Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 1

Activities:
  • Setting device orientation to Portrait

    • Wait for bjung.ios-training-bjung to idle
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.

  • Setting appearance mode to Dark

    • Wait for bjung.ios-training-bjung to idle
  • Start Test at 2024-01-23 02:41:07.535

  • Set Up

  • Open bjung.ios-training-bjung

    • Launch bjung.ios-training-bjung
      • Terminate bjung.ios-training-bjung:4066
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Find the Target Application 'bjung.ios-training-bjung'

  • Added attachment named 'Launch Screen'

    attachment
  • Tear Down

Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIDeviceOrientation: 4

Activities:
  • Setting device orientation to Landscape Right

    • Wait for bjung.ios-training-bjung to idle
  • Some screenshots were deleted because testing is configured to remove automatic screenshots on success.

  • Setting appearance mode to Dark

    • Wait for bjung.ios-training-bjung to idle
  • Start Test at 2024-01-23 02:41:16.649

  • Set Up

  • Open bjung.ios-training-bjung

    • Launch bjung.ios-training-bjung
      • Terminate bjung.ios-training-bjung:4075
      • Setting up automation session
      • Wait for bjung.ios-training-bjung to idle
  • Find the Target Application 'bjung.ios-training-bjung'

  • Added attachment named 'Launch Screen'

    attachment
  • Tear Down

Annotations

Check failure on line 141 in ios-training-bjungTests/ios_training_bjungTests.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertEqual failed: ("WeatherResponse(minTemperature: 7, maxTemperature: 25, weatherCondition: "cloudy", date: 2020-04-01 03:00:00 +0000)") is not equal to ("WeatherResponse(minTemperature: 7, maxTemperature: 25, weatherCondition: "cloudy", date: 2020-04-01 12:00:00 +0000)")

Check failure on line 126 in ios-training-bjungTests/ios_training_bjungTests.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertEqual failed: ("{"area":"Tokyo","date":"2020-04-01T21:00:00+09:00"}") is not equal to ("{"area":"Tokyo","date":"2020-04-01T12:00:00+09:00"}")