Unit Test Frameworks
A Language-Independant Overview
Paul Hamill - Collection Software Development/Programming
Résumé
Most people who write software have at least some experience with unit testing-even if they don't call it that. If you have ever written a few lines of throwaway code just to try something out, you've built a unit test. On the other end of the software spectrum, many large-scale applications have huge batteries of test cases that are repeatedly run and added to throughout the development process.
What are unit test frameworks and how are they used? Simply stated, they are software tools to support writing and running unit tests, including a foundation on which to build tests and the functionality to execute the tests and report their results. They are not solely tools for testing; they can also be used as development tools on a par with preprocessors and debuggers. Unit test frameworks can contribute to almost every stage of software development and are key tools for doing Agile Development and building bug-free code.
Unit Test Frameworks covers the usage, philosophy, and architecture of unit test frameworks. The tutorials and code examples explain:
- Building a basic unit test framework from scratch
- Working with the xUnit family of test frameworks, including JUnit, CppUnit, NUnit, XMLUnit, and PyUnit
- Constructing both simple and complex unit tests
Tutorials and example code are platform-independent and compatible with Windows, Mac OS X, Unix, and Linux. The companion CD includes complete versions of JUnit, CppUnit, NUnit, and XMLUnit, as well as the complete set of code examples.
L'auteur - Paul Hamill
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.
Sommaire
- Unit Test Frameworks: An Overview
- Getting Started: Tutorial
- The xUnit Family of Unit Test Frameworks
- Writing Unit Tests
- Unit Testing GUI Applications
- JUnit
- CppUnit
- NUnit
- PyUnit
- XMLUnit
- Resources
- Simple C++ Unit Test Framework
- JUnit Class Reference
- CppUnit Class Reference
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | Paul Hamill |
Collection | Software Development/Programming |
Parution | 17/01/2005 |
Nb. de pages | 198 |
Format | 18 x 23,5 |
Couverture | Broché |
Poids | 384g |
Intérieur | Noir et Blanc |
EAN13 | 9780596006891 |
ISBN13 | 978-0-596-00689-1 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse