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.
- Unit Test Frameworks: An Overview
- Getting Started: Tutorial
- The xUnit Family of Unit Test Frameworks
- Writing Unit Tests
- Unit Testing GUI Applications
- Simple C++ Unit Test Framework
- JUnit Class Reference
- CppUnit Class Reference
Caractéristiques techniques du livre "Unit Test Frameworks"
|Nb. de pages||198|
|Format||18 x 23,5|
|Intérieur||Noir et Blanc|
Livraison à partir de 0,01 € en France métropolitaine (1)
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ de 700 000 livres disponibles