ENGLISH

Unit test frameworks: ''A language-independent overview''--Cover. - CD-ROM contents include: README files, build directions, and Makefile comments. - Includes index

Book information

Publisher
O'Reilly Media
Year
2005
ISBN
9780596006891, 0-596-00689-6, 9780596552817
Language
english
Format
EPUB
Filesize
1 MB (1057293 bytes)
Edition
1st ed
Pages
198\0
Time added
2019-09-25 00:19:43

Description

This is the only book to explore unit testing as a language-independent, standalone development methodology. It covers the theory and methodology of unit test frameworks, offers instruction in unit test development, provides useful code examples in both Java and C++, and details the most commonly used frameworks from the XUnit family, including JUnit for Java, CppUnit for C++, and NUnit for .NET. It also includes the complete source code for CppUnit for C++ and NUnit for .NET. Content: Preface 1. Unit Test Frameworks: An Overview Test Driven Development Unit Testing and Quality Assurance Homegrown Unit Testing 2. Getting Started: Tutorial Outline of an Application: the Virtual Library Example 1: Create a Book Example 2: Create a Library 3. The xUnit Family of Unit Test Frameworks xUnit Family Members xUnit Extensions The xUnit Architecture xUnit Architecture Summary 4. Writing Unit Tests Types of Asserts Defining Custom Asserts Single Condition Tests Testing Expected Errors (Not) Testing Get/Set Methods Testing Protected Behavior Test Code Organization Mock Objects AbstractTest Performance Tests New Library and Book Code 5. Unit Testing GUI Applications Library GUI 6. JUnit Overview Architecture Usage Test Assert Methods 7. CppUnit Overview Architecture Usage Test Assert Methods 8. NUnit Overview Architecture Usage Test Assert Methods 9. PyUnit Overview Architecture Usage Test Assert Methods 10. XMLUnit Overview Architecture Usage Test Assert Methods 11. Resources Web Sites Discussion Groups Books A. Simple C++ Unit Test Framework B. JUnit Class Reference C. CppUnit Class Reference Glossary Index

Similar books