Muutke küpsiste eelistusi

E-raamat: Unit Test Frameworks: Tools for High-Quality Software Development

  • Formaat: 216 pages
  • Ilmumisaeg: 02-Nov-2004
  • Kirjastus: O'Reilly Media
  • Keel: eng
  • ISBN-13: 9780596552817
  • Formaat - EPUB+DRM
  • Hind: 18,71 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: 216 pages
  • Ilmumisaeg: 02-Nov-2004
  • Kirjastus: O'Reilly Media
  • Keel: eng
  • ISBN-13: 9780596552817

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

In this language-independent overview, developer Hamill covers the usage, philosophy, and architecture of unit test frameworks with the idea that they are development tools like pre-processors and debuggers. He offers code examples in C++ and Java, starting with a tutorial and proceeding to examine the xUnit family, writing unit tests, GUI applications, JUnit, CppUnit, NUnit, PyUnit, XMLUnit, and related resources. The CD-ROM includes build directions and Makefile comments. Annotation ©2004 Book News, Inc., Portland, OR (booknews.com)

Unit test frameworks are a key element of popular development methodologies such as eXtreme Programming (XP) and Agile Development. But unit testing has moved far beyond eXtreme Programming; it is now common in many different types of application development. Unit tests help ensure low-level code correctness, reduce software development cycle time, improve developer productivity, and produce more robust software.

Until now, there was little documentation available on unit testing, and most sources addressed specific frameworks and specific languages, rather than explaining the use of unit testing as a language-independent, standalone development methodology. This invaluable new book covers the theory and background of unit test frameworks, offers step-by-step instruction in basic unit test development, provides useful code examples in both Java and C++, and includes details on some of the most commonly used frameworks today from the XUnit family, including JUnit for Java, CppUnit for C++, and NUnit for .NET.

Unit Test Frameworks includes clear, concise, and detailed descriptions of:

  • The theory and design of unit test frameworks
  • Examples of unit tests and frameworks
  • Different types of unit tests
  • Popular unit test frameworks
  • And more
It also includes the complete source code for CppUnit for C++, and NUnit for .NET.
Preface ix
Unit Test Frameworks: An Overview
1(6)
Test Driven Development
2(2)
Unit Testing and Quality Assurance
4(1)
Homegrown Unit Testing
5(2)
Getting Started: Tutorial
7(11)
Outline of an Application: the Virtual Library
8(1)
Example 1: Create a Book
8(4)
Example 2: Create a Library
12(6)
The xUnit Family of Unit Test Frameworks
18(14)
xUnit Family Members
18(1)
xUnit Extensions
19(1)
The xUnit Architecture
20(10)
xUnit Architecture Summary
30(2)
Writing Unit Tests
32(19)
Types of Asserts
32(2)
Defining Custom Asserts
34(1)
Single Condition Tests
35(2)
Testing Expected Errors
37(1)
(Not) Testing Get/Set Methods
38(1)
Testing Protected Behavior
38(2)
Test Code Organization
40(1)
Mock Objects
41(3)
AbstractTest
44(3)
Performance Tests
47(2)
New Library and Book Code
49(2)
Unit Testing GUI Applications
51(12)
Library GUI
53(10)
JUnit
63(7)
Overview
63(1)
Architecture
63(2)
Usage
65(2)
Test Assert Methods
67(3)
CppUnit
70(10)
Overview
70(1)
Architecture
70(2)
Usage
72(7)
Test Assert Methods
79(1)
NUnit
80(8)
Overview
80(1)
Architecture
80(1)
Usage
81(5)
Test Assert Methods
86(2)
PyUnit
88(9)
Overview
88(1)
Architecture
88(1)
Usage
88(7)
Test Assert Methods
95(2)
XMLUnit
97(13)
Overview
97(1)
Architecture
98(1)
Usage
99(7)
Test Assert Methods
106(4)
Resources
110(3)
Web Sites
110(1)
Discussion Groups
111(1)
Books
112(1)
A. Simple C++ Unit Test Framework 113(9)
B. JUnit Class Reference 122(15)
C. CppUnit Class Reference 137(48)
Glossary 185(4)
Index 189


Paul Hamill is a highly experienced software developer with more than ten years of experience developing code using C/C++, Java, and other languages. He has a BS ME from Cornell University and an MS EE from the University of Colorado, and is the published co-author of several academic papers on advanced CAD software. His recent experience includes work on a number of small entrepreneurial software development teams relying on eXtreme Programming (XP) and unit testing methodologies.