|
The NIST estimates that poor testing costs the US economy $60 billion annually. This book gives teams straightforward and proven ways to introduce unit testing into their process, resulting in higher quality and fewer bugs.
All over the world, software teams are using unit testing both to verify their code and as a way of helping them design better code. This book is unique in the way it covers two aspects: showing developers both how to test and helping them determine what to test. New in the second edition:
Author: Andy Hunt
Author: Dave Thomas
Author: Matt Hargett
Publisher: Pragmatic Bookshelf
|
|
Few .NET developers have the luxury of unlimited code testing once their application is complete, and rushing through the testing process is both problematic and stressful. The open source NUnit framework provides an excellent and efficient way to test and improve .NET code as it's written, saving hundreds of QA hours and headaches.
NUnit is one of the most mature and widely-used .NET open source projects even Microsoft uses it internally. NUnit is a unit-testing framework for all .Net languages. Written entirely in C#, NUnit takes advantage of many .NET language features, such as custom attributes and other reflection related capabilities. It automates unit testing and reduces the effort required to frequently test code while developing it. NUint is invaluable for .NET developers in test-driven development under agile methodologies such as Extreme Programming (XP) as well as for developers who use for unit testing for software quality assurance. Unfortunately, some of those valuable hours saved by using NUnit can be wasted trying to master this powerful but under-documented framework Proof that good things come in small packages, the NUnit Pocket Reference is a complete reference to NUnit, filling in the blanks left by the existing documentation and online discussion. It offers developers everything they need to know to install, configure, and use NUnit; the NUnit user interface; and a reference to the NUnit framework classes in a slim but well-organized package. This handy little book even offers practical, real world NUnit examples. And with the NUnit Pocket Reference, IT managers will know to expect when they implement unit testing in their projects. It is the only book you'll need on this popular and practical new open source framework. Author: Bill Hamilton
Publisher: O'Reilly Media, Inc.
|
|
One of the changes Microsoft brought with .NET was to submit C# and theCommon Language Runtime for standardization. As a result, for the first time,people have been able to develop open source tools that can be used withMicrosoft's tools. These open source tools are important because they givedevelopers increased efficiency and flexibility. This is the first book to showhow to use these new tools, including NAnt, NDoc, NUnit, Draco.net,Log4Net, and ASpell.Net. The author is an active member of the open sourcecommunity, and has contributed to several of these projects. He shows how touse all the tools with both Visual Studio .NET and with the Mono Project, theleading Open Source IDE for .NET. This book should appeal equally to .NETdevelopers intersted in what open source tools are available to them, as well asto open source developers who are curious about .NET. Just as Javadevelopers have embraced open source Java tools such as Jakarta, Ant, andJUnit, .NET developers are eager for this information.
Author: Brian Nantz
Publisher: Addison-Wesley Professional
|
|
The open source NUnit framework is an excellent way to test .NET code as it is written, saving hundreds of QA hours and headaches. Unfortunately, some of those hours saved can be wasted trying to master this popular but under-documented framework. Proof that good things come in small packages, the NUnit Pocket Reference is everything you need to get NUnit up and working for you. It's the only book you'll need on this popular and practical new open source framework.
Author: Bill Hamilton
Publisher: O'Reilly Media, Inc.
|
|
Author: Andy/ Thomas, Dave/ Hargett, Matt (CON) Hunt
Publisher: Oreilly & Associates Inc
|
|
Author: Brian Nantz
Publisher: Addison-Wesley Professional
|
|
Testing in .NET Environments focuses solely on applied programming techniques for testers. You will learn how to write simple automated tests, enabling you to test tools and utilities. You will also learn about the important concepts driving modern programming today, like multitier applications and object-oriented programming. More businesses are adopting .NET technologies, and this book will equip you to assess software robustness and performance. Whether you're an experienced programmer who's unfamiliar with testing concepts, or you're an experienced tester unversed in VB .NET and C#, the included real-world tips and example code will help you start your projects. Also included are review questions and hands-on exercises to help you retain knowledge. Additionally, the book features examples and quick language tutorials for both C# and VB .NET. Author: Randal Root
Author: Mary Romero Sweeney
Publisher: Apress
|
|
Learn how to apply the concepts and techniques of Test-Driven Development (TDD) to writing software for Microsoft .NET. Two experts in agile software development teach—using a wealth of pragmatic examples in C# and other .NET development tools—how to use automated tests to drive lean, efficient coding and better design. You’ll focus on .NET-specific issues for TDD, including the best time to employ the inherent features of .NET class libraries and how to use NUnit, a leading unit-testing framework for .NET. And you’ll see real-world examples of TDD-for .NET projects, including a Microsoft ADO.NET relational database, a user interface created with Microsoft ASP.NET and Microsoft Windows® Forms, Web services, and other useful applications.
Author: James W. Newkirk
Author: Alexei A. Vorontsov
Publisher: Microsoft Press
|
|
Automated testing is a cornerstone of agile development. An effective testing strategy will deliver new functionality more aggressively, accelerate user feedback, and improve quality. However, for many developers, creating effective automated tests is a unique and unfamiliar challenge. xUnit Test Patterns is the definitive guide to writing automated tests using xUnit, the most popular unit testing framework in use today. Agile coach and test automation expert Gerard Meszaros describes 68 proven patterns for making tests easier to write, understand, and maintain. He then shows you how to make them more robust and repeatable--and far more cost-effective. Loaded with information, this book feels like three books in one. The first part is a detailed tutorial on test automation that covers everything from test strategy to in-depth test coding. The second part, a catalog of 18 frequently encountered "test smells," provides trouble-shooting guidelines to help you determine the root cause of problems and the most applicable patterns. The third part contains detailed descriptions of each pattern, including refactoring instructions illustrated by extensive code samples in multiple programming languages. Topics covered include
This book will benefit developers, managers, and testers working with any agile or conventional development process, whether doing test-driven development or writing the tests last. While the patterns and smells are especially applicable to all members of the xUnit family, they also apply to next-generation behavior-driven development frameworks such as RSpec and JBehave and to other kinds of test automation tools, including recorded test tools and data-driven test tools such as Fit and FitNesse.
Foreword Preface Acknowledgments Introduction Refactoring a Test PART I: The Narratives Chapter 1 A Brief Tour Chapter 2 Test Smells Chapter 3 Goals of Test Automation Chapter 4 Philosophy of Test Automation Chapter 5 Principles of Test Automation Chapter 6 Test Automation Strategy Chapter 7 xUnit Basics Chapter 8 Transient Fixture Management Chapter 9 Persistent Fixture Management Chapter 10 Result Verification Chapter 11 Using Test Doubles Chapter 12 Organizing Our Tests Chapter 13 Testing with Databases Chapter 14 A Roadmap to Effective Test Automation PART II: The Test Smells Chapter 15 Code Smells Chapter 16 Behavior Smells Chapter 17 Project Smells PART III: The Patterns Chapter 18 Test Strategy Patterns Chapter 19 xUnit Basics Patterns Chapter 20 Fixture Setup Patterns Chapter 21 Result Verification Patterns Chapter 22 Fixture Teardown Patterns Chapter 23 Test Double Patterns Chapter 24 Test Organization Patterns Chapter 25 Database Patterns Chapter 26 Design-for-Testability Patterns Chapter 27 Value Patterns PART IV: Appendixes Appendix A Test Refactorings Appendix B xUnit Terminology Appendix C xUnit Family Members Appendix D Tools Appendix E Goals and Principles Appendix F Smells, Aliases, and Causes Appendix G Patterns, Aliases, and Variations Glossary References Index
Author: Gerard Meszaros
Publisher: Addison-Wesley
|
|
If you develop, test, or manage .NET software, you will find .NET Test Automation Recipes: A Problem-Solution Approach very useful. The book presents practical techniques for writing lightweight software test automation in a .NET environment and covers API testing thoroughly. It also discusses lightweight, custom Windows application UI automation and teaches you low-level web application UI automation. Additional material covers SQL stored procedure testing techniques. The examples in this book have been successfully used in seminars and teaching environments where they have proven highly effective for students who are learning intermediate-level .NET programming. Youll come away from the book knowing how to write production-quality combination and permutation methods. Author: Dr. James McCaffrey
Publisher: Apress
|