รูปภาพสินค้า รหัส9780974514024
9780974514024
-
ผู้เขียนDavid Thomas, Andrew Hunt

ส่วนลด 0 %
ราคาปก 1,220.00 บาท
ราคาสุทธิ 1,220.00 บาท
Bookmark and Share
รายละเอียดหนังสือ
รหัสสินค้า: 9780974514024
จำนวน: 159 หน้า
ขนาดรูปเล่ม: 190 x 230 x 11 มม.
น้ำหนัก: 380 กรัม
เนื้อในพิมพ์: ขาวดำ 
ชนิดปก: ปกอ่อน 
ชนิดกระดาษ: -ไม่ระบุ 
หน่วย: เล่ม 
สำนักพิมพ์: The Pragmatic Programmers 
พิมพ์ครั้งล่าสุด:ครั้งที่ 2 เดือน 05 ปี 2004
:: เนื้อหาโดยสังเขป
Learn how to improve your C# coding skills using unittesting. Despite it's name, unit testing is really a coding technique, not a testing technique. Unit testing is done by programmers, for programmers. It's primarily for our benefit: we get improved confidence in our code, better ability to make deadlines, less time spent in the debugger, and less time beating on the code to make it work correctly.

This book shows how to write tests, but more importantly, it goes where other books fear to tread and gives you concrete advice and examples of what to test—the common things that go wrong in all of our programs. Discover the tricky hiding places where bugs breed, and how to catch them using the freely available NUnit framework. It's easy to learn how to think of all the things in your code that are likely to break. We'll show you how with helpful mnemonics, summarized in a handy tip sheet (also available from our www.pragmaticprogrammer.com website).

With this book you will: Write better code, and take less time to write it Discover the tricky places where bugs breed Learn how to think of all the things that could go wrong Test individual pieces of code without having to include the whole project Test effectively with the whole team We'll also cover how to use Mock Objects for testing, how to write high quality test code, and how to use unit testing to improve your design skills. We'll show you frequent "gotchas"—along with the fixes—to save you time when problems come up.

:: สารบัญ
1 Introduction
2 Your First Unit Tests
3 Writing Tests in NUnit
4 What to Test : The Right-BICEP
5 Correct Boundary Conditions
6 Using Mock Objects
7 Properties of Good Tests
8 Testing on a Project
9 Design Issues