NSubstitute TDD C# ... 假設我們現在要對計算年齡的Service做單元測試,則必須Mock DAL Repository,讓單元測試的代碼不用真的到資料庫取得資料。
確定! 回上一頁