[英]Is there a way to skip all tests in a suite if a certain conditions fail - JavaScript Jasmine?
如果某些條件失敗,有沒有辦法跳過套件中的所有測試? 即)如果網頁未打開,則運行 rest 測試沒有意義,因為它們都取決於在運行任何測試之前打開的網頁。 我們可以使用 pending() 來跳過當前測試,但是如果所有其他測試都依賴於 checkCondition 為真,是否有一種方法可以立即跳過套件 ...