總結
對于單元測試工具,就簡單的介紹這么多,我個人還是推薦使用TestDriven.Net的個人版,至于后面兩個NUnit的擴展,大家可以參考一下,在實際開發中用它們來測試會很麻煩,至少我目前不敢去做這個嘗試。還有一個非常值得推薦的單元測試工具Mbunit,有興趣的朋友可以關注一下,我對它了解并不多。
評論:
頁面測試,可以關注一下 watiN,他可控制到 dialog/frame/js的alert/confirm 的測試。
http://watin.sourceforge.net/
單元測試的部份,我們是用 NUnitLite。
http://www.codeplex.com/NUnitLite
功能少nunit很多-_-,但他可以測試 web site project 里app_code里的cs。
符合工作的需求,也可參考看看。
對于Mobile的單元測試工具,恐怕很難找,因為netcf對于反射支持有限,而像NUnit這樣的工具也用到了反射。最典型的例子就是NDoc,這個對netcf有的時候就愛莫能助了。
ReSharper UnitRun
\"is a free add-in for Microsoft Visual Studio 2005 that allows you to automatically run and profile unit tests. This user-friendly tool detects test fixtures of the supported unit testing frameworks and lets you run or profile them right from the code editor or from Visual Studio\'s Solution Explorer. \"
免費但不是開源的...
http://www.jetbrains.com/unitrun/
VS2007 將支持Mobile 系統的 unit test, 請大家關注。
另外,VS2005 database professsional 版本已經發布,支持SQL的單元測試,請大家試用。
文章來源于領測軟件測試網 http://www.kjueaiud.com/