用來產生Test Double(測試替身),可當成假資料來看,分為Spy、Stub 和Mock。 Spy (Spies - Sinon.JS) 對function call 蒐集資訊,便於對測試結果做 ...
確定! 回上一頁