我有一個從命令列運行的引數化測驗,當所有測驗都失敗時,在錯誤訊息中,我收到了每次失敗的文本:
With configuration:
- Use declared types and members
- Compare enums by value
- Include all non-private properties
- Include all non-private fields
- Match member by name (or throw)
- Without automatic conversion.
- Without automatic conversion.
- Be strict about the order of items in byte arrays
我意識到此資訊在診斷某些測驗失敗方面具有價值,但在這種情況下,它占用了大量文本行,導致許多測驗用例在我的控制臺視窗中滾出視圖。
我想知道是否/如何關閉這些訊息?
uj5u.com熱心網友回復:
你不能。但我希望你只是偶爾有一次失敗的測驗,對吧?
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/324877.html
