feat(core): add failure message to uncompleted test result #1324
Annotations
4 errors
TestResultsListenerTest.testSingleIncomplete():
vendor/vendor-android/src/test/kotlin/com/malinskiy/marathon/android/executor/listeners/TestResultsListenerTest.kt#L138
org.opentest4j.AssertionFailedError: expected to contain only:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46187:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=null)]> but was:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46187:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=Test didn't complete. Ei)]>
elements not found:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46187:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=null)]>
extra elements found:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46187:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=Test didn't complete. Ei)]>
|
ci
Process completed with exit code 1.
|
SshjCommandExecutorTest.testTerminate():
vendor/vendor-ios/src/test/kotlin/com/malinskiy/marathon/ios/cmd/remote/ssh/sshj/SshjCommandExecutorTest.kt#L15
java.lang.IllegalThreadStateException
|
TestResultsListenerTest.testSingleIncomplete():
vendor/vendor-android/src/test/kotlin/com/malinskiy/marathon/android/executor/listeners/TestResultsListenerTest.kt#L138
org.opentest4j.AssertionFailedError: expected to contain only:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46063:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=null)]> but was:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46063:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=Test didn't complete. Ei)]>
elements not found:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46063:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=null)]>
extra elements found:<[TestResult(test=Test(pkg=com.example, clazz=Class, method=method1, metaProperties=[]), device=DeviceInfo(operatingSystem=OperatingSystem(version=27), serialNumber=127.0.0.1:46063:emulator-5554, model=Android SDK built for x86, manufacturer=Google, networkState=DISCONNECTED, deviceFeatures=[VIDEO, SCREENSHOT], healthy=false), status=INCOMPLETE, startTime=0, endTime=0, stacktrace=Test didn't complete. Ei)]>
|