NUnit Pocket Reference
暫譯: NUnit 口袋參考指南
Bill Hamilton
- 出版商: O'Reilly
- 出版日期: 2004-09-28
- 售價: $640
- 貴賓價: 9.5 折 $608
- 語言: 英文
- 頁數: 94
- 裝訂: Paperback
- ISBN: 0596007396
- ISBN-13: 9780596007393
已過版
買這商品的人也買了...
-
$2,390$2,271 -
$420$399 -
$290$226 -
$1,100Pragmatic Unit Testing in C# with NUnit, 2/e (Paperback)
-
$399Professional Software Testing with Visual Studio 2005 Team System: Tools for Software Developers and Test Engineers
-
$980$774 -
$490$387 -
$590$466 -
$590$466 -
$580$452 -
$650$514 -
$550$435 -
$580$458 -
$450$356 -
$551C# 6.0 本質論, 5/e (Essential C# 6.0, 5/e)
-
$480$379 -
$650$553 -
$880$748 -
$1,000$780 -
$834$792 -
$414$393 -
$550$429 -
$480$379 -
$690$538 -
$500$390
相關主題
商品描述
Description:
Few .NET developers have the luxury of unlimited code testing once their application is complete, and rushing through the testing process is both problematic and stressful. The open source NUnit framework provides an excellent and efficient way to test and improve .NET code as it's written, saving hundreds of QA hours and headaches.
NUnit is one of the most mature and widely-used .NET open source projects even Microsoft uses it internally. NUnit is a unit-testing framework for all .Net languages. Written entirely in C#, NUnit takes advantage of many .NET language features, such as custom attributes and other reflection related capabilities. It automates unit testing and reduces the effort required to frequently test code while developing it. NUint is invaluable for .NET developers in test-driven development under agile methodologies such as Extreme Programming (XP) as well as for developers who use for unit testing for software quality assurance. Unfortunately, some of those valuable hours saved by using NUnit can be wasted trying to master this powerful but under-documented framework
Proof that good things come in small packages, the NUnit Pocket Reference is a complete reference to NUnit, filling in the blanks left by the existing documentation and online discussion. It offers developers everything they need to know to install, configure, and use NUnit; the NUnit user interface; and a reference to the NUnit framework classes in a slim but well-organized package. This handy little book even offers practical, real world NUnit examples. And with the NUnit Pocket Reference, IT managers will know to expect when they implement unit testing in their projects. It is the only book you'll need on this popular and practical new open source framework.
Table of Contents:
Introduction
Unit Testing
Testing Software
What Is Unit Testing and Where Did It Come from?
Test-Driven Development
Test Harness
Unit Test Design and Development Overview
Best Practices for Unit TestingWhat Is NUnit?
How Does NUnit Work?Setting Up NUnit
Prerequisites
Programming Languages
Getting NUnit
Installing NUnit
Configuring NUnit
Manual Installation
Navigating the Source CodeUnit Testing with NUnit
Creating a Test
Running a Test
Assertions
Other Testing ElementsTest Runner GUI
User Interface
NUnit Projects
Running Tests
Running the Test Runner GUI from the Command LineTest Runner Console
Debugging with NUnit
Testing with Mock Objects
Compatibility
Using NUnit 2.1 Tests with NUnit 2.2
Using NUnit 2.0 Tests with NUnit 2.2
Upgrading from NUnit 1.x to 2.2
Changes from NUnit 2.1 to 2.2
Changes from NUnit 2.0 to 2.1Extending NUnit
Integrating NUnit with Visual Studio .NET
NUnit AddIn for Visual Studio .NET
VSNUnit
NUnitAsp
NCover
NAnt
NantpadIndex
商品描述(中文翻譯)
**描述:**
少數 .NET 開發人員在應用程式完成後擁有無限制的代碼測試的奢侈,而匆忙進行測試過程既有問題又令人緊張。開源的 NUnit 框架提供了一種優秀且高效的方式來測試和改進 .NET 代碼,隨著代碼的編寫,節省了數百小時的質量保證(QA)時間和頭痛。
NUnit 是最成熟且廣泛使用的 .NET 開源專案之一,甚至微軟也在內部使用它。NUnit 是一個適用於所有 .NET 語言的單元測試框架。NUnit 完全用 C# 編寫,利用了許多 .NET 語言特性,例如自定義屬性和其他反射相關的功能。它自動化單元測試,減少了在開發過程中頻繁測試代碼所需的努力。對於在敏捷方法論(如極限編程(XP))下進行測試驅動開發的 .NET 開發人員,以及使用單元測試進行軟體質量保證的開發人員來說,NUnit 是無價的。不幸的是,使用 NUnit 節省的一些寶貴時間可能會浪費在試圖掌握這個強大但文檔不足的框架上。
證明好東西往往包裝精簡的例子是《NUnit 口袋參考手冊》,這是一本完整的 NUnit 參考書,填補了現有文檔和線上討論留下的空白。它為開發人員提供了安裝、配置和使用 NUnit 所需的所有資訊;NUnit 使用者介面;以及一個精簡但組織良好的 NUnit 框架類別參考。這本方便的小書甚至提供了實用的、現實世界中的 NUnit 範例。透過《NUnit 口袋參考手冊》,IT 經理將知道在他們的專案中實施單元測試時應該期待什麼。這是您在這個流行且實用的新開源框架上所需的唯一一本書。
**目錄:**
引言
單元測試
測試軟體
單元測試是什麼,來源於何處?
測試驅動開發
測試工具
單元測試設計與開發概述
單元測試的最佳實踐
NUnit 是什麼?
NUnit 如何運作?
設定 NUnit
前置條件
程式語言
獲取 NUnit
安裝 NUnit
配置 NUnit
手動安裝
瀏覽源代碼
使用 NUnit 進行單元測試
創建測試
執行測試
斷言
其他測試元素
測試執行器 GUI
使用者介面
NUnit 專案
執行測試
從命令行執行測試執行器 GUI
測試執行器控制台
使用 NUnit 進行除錯
使用模擬物件進行測試
相容性
使用 NUnit 2.1 測試與 NUnit 2.2
使用 NUnit 2.0 測試與 NUnit 2.2
從 NUnit 1.x 升級到 2.2
從 NUnit 2.1 到 2.2 的變更
從 NUnit 2.0 到 2.1 的變更
擴展 NUnit
將 NUnit 與 Visual Studio .NET 整合
Visual Studio .NET 的 NUnit 插件
VSNUnit
NUnitAsp
NCover
NAnt
Nantpad
索引