是否有任何好的書籍或資料涵蓋深度使用mock的C#單元測試?關於單元測試的好資源?
5
A
回答
9
The Art of Unit Testing怎麼樣。這是.NET特有的,應該是相當新的。
8
有一個相當不錯的書介紹如何使用NUnit的和NMock做C#單元測試:
2
有很多的文件在nmock網站:
http://www.nmock.org/tutorial.html http://www.nmock.org/advanced.html
0
我找到了以下文章(尤其是第一篇)來自Stephen Walter相當有用。
http://weblogs.asp.net/stephenwalther/archive/2008/06/11/tdd-introduction-to-moq.aspx http://weblogs.asp.net/stephenwalther/archive/2008/03/22/tdd-introduction-to-rhino-mocks.aspx http://weblogs.asp.net/stephenwalther/archive/2008/03/16/tdd-introduction-to-typemock-isolator.aspx
0
Extreme Programming Adventures in C#是公額定並用模擬對象的交易。它可能有點過時(當前版本是2004年)。
0
也有與羅伊Osherove
14個以上的講座和內容9.5小時的視頻課程 http://www.udemy.com/tdd-in-net-with-roy-osherove?from=aout
TDD大師在.NET!爲79 $
相關問題
- 1. 關於單元測試的好文獻?
- 2. 關於集成測試的好書或其他資源?
- 3. 用MVVM進行單元測試的好資源
- 4. 單元測試的網絡資源
- 5. 單元測試。關於獨立測試
- 6. 訪問單元測試資源
- 7. 噶單元測試跨域資源AngularJS
- 8. 單元測試Android,從資源getString
- 9. 單元測試在AngularJS模擬$資源
- 10. 單元測試和外部資源
- 11. 單元測試 - 動態/相關資源庫的挑戰
- 12. 單元使用Pester測試基於類的DSC資源
- 13. 創建單元測試對於使用資源的類c#/ VisualStudio
- 14. 關於單元測試的建議rspec
- 15. 關於單元測試的建議
- 16. 單元測試資源管理器不顯示適用於metro應用程序的異步單元測試
- 17. 用於性能測試的資源
- 18. 關於測試或單元測試的一些基本問題
- 19. 關於單元測試zend框架中的函數和單元測試一般
- 20. 關於嵌入式測試資源的建議
- 21. REST資源測試
- 22. C#測試資源
- 23. Javascript測試資源
- 24. AngularJS,單元測試使用依賴於某些資源的服務的指令
- 25. 我的單元測試沒有顯示在測試資源管理器中
- 26. 如何在Android的單元測試和儀器測試之間共享資源?
- 27. 單元測試相關測試
- 28. 主要與外部資源交互的單元測試程序
- 29. VS 2012中的單元測試資源管理器
- 30. Objective-C單元測試找不到我的資源