2011-nov02-net / 2011-nov02-net/danielp-project0
Create New Order from Locations Test
未關閉
適合新手
- 主要語言
- C#
- 星號
- 0
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Create a test in MyStore.Store.Tests to check that the CreateNewOrder method in the MyStore.Store Location creates a new order.
Also, test that an ItemNotFoundException is thrown if an order for an item, using the name of an item that doesn't exist is created.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
尋找 MyStore.Store.Tests 專案以及包含 CreateNewOrder 方法的 Location 類別。撰寫一個呼叫 CreateNewOrder 並驗證新訂單已建立的測試。然後撰寫一個嘗試使用不存在的項目名稱建立訂單,並斷言會擲出 ItemNotFoundException 的測試。執行測試套件以確保測試通過。
由索引模型根據 Issue 內容生成。
評估
- 領域
- testing
- Issue 類型
- 功能
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 65/100