0
我所有的測試通常都有TearDown過程,但有些測試因終端凍結或內核崩潰而失敗,因此不允許運行TearDown並返回包含錯誤在測試消息中,如下所示:機器人框架:禁用拆解登錄到測試消息
------------------------------------------------------------------------------
MultiSession | FAIL |
System crashed with Kernel panic
Also teardown failed:
Several failures occurred:
1) No match found for '
' in 700 milliseconds. Output:
2) No match found for '
' in 700 milliseconds. Output:
3) No match found for '
' in 700 milliseconds. Output:
4) No match found for '
' in 700 milliseconds. Output:
5) No match found for '
' in 700 milliseconds. Output:
6) '' does not contain '0'
7) No match found for '
' in 700 milliseconds. Output:
8) No match found for '
' in 700 milliseconds. Output:
如何管理TearDown不會將錯誤記錄到測試消息中?