Dotnetcat » .NET Books » Testing books

Sort by:

The Art of Unit Testing: With Examples in .Net

Author: Roy Osherove
List price: $39.99
Amazon price: $22.59   Book details at Amazon.com
Average rating:  / 0 (0 reviews)
Publisher: Manning Publications ( 5 July 2009)

Unit testing, done right, can mean the difference between a failed project and a successful one, between a maintainable code base and a code base that no one dares touch, and between getting home at 2 AM or getting home in time for dinner, even before a release deadline.

The Art of Unit Testing builds on top of what's already been written about this important topic. It guides you step by step from simple tests to tests that are maintainable, readable, and trustworthy. It covers advanced subjects like mocks, stubs, and frameworks such as Typemock Isolator and Rhino Mocks. And you'll learn about advanced test patterns and organization, working with legacy code and even untestable code. The book discusses tools you need when testing databases and other technologies. It's written for .NET developers but others will also benefit from this book.

Table of Contents:

  1. The basics of unit testing
  2. A first unit test
  3. Using stubs to break dependencies
  4. Interaction testing using mock objects
  5. Isolation (mock object) frameworks
  6. Test hierarchies and organization
  7. The pillars of good tests
  8. Integrating unit testing into the organization
  9. Working with legacy code

Testing ASP.NET Web Applications (Wrox Programmer to Programmer)

Author: Jeff McWherter
List price: $59.99
Amazon price: $19.98   Book details at Amazon.com
Average rating:  / 0 (0 reviews)
Publisher: Wrox (26 October 2009)

A unique resource that combines all aspects of Web testing and makes it completely specific to ASP.NET

As Microsoft's key Web technology for creating dynamic, data-driven Web sites and Web applications, ASP.NET is incredibly popular. This is the first book to combine several testing topics and make them specific to ASP.NET. The author duo of Microsoft MVPs covers both the test-driven development approach and the specifics of automated user interface testing; performance, load, and stress testing; accessibility testing; and security testing.

This definitive guide walks you through the many testing pitfalls you might experience when developing ASP.NET applications. The authors explain the fundamental concepts of testing and demystify all the correct actions you need to consider and the tools that are available so that you may successfully text your application.

  • Author duo of Microsoft MVPs offer a unique resource: a combination of several testing topics and making them specific to ASP.NET, Microsoft's key Web technology for creating dynamic, data-driven Web sites and applications
  • Guides you through the many testing pitfalls you may experience when developing ASP.NET applications
  • Reviews the fundamental concepts of testing and walks you through the various tools and techniques available and for successfully testing an application
  • Discusses several different types of testing: acceptance, stress, accessibility, and security
  • Examines various testing tools, such as nUnit, VS test suite, WCAT, Selenium, Fiddler, Firebug, and more

This one-of-a-kind resource will help you become proficient in successfull application testing.

Software Testing with Visual Studio 2010 (Microsoft .NET Development Series)

Author: Jeff Levinson
List price: $44.99
Amazon price: $29.00   Book details at Amazon.com
Average rating:  / 0 (0 reviews)
Publisher: Addison-Wesley Professional ( 3 March 2011)

Use Visual Studio 2010’s Breakthrough Testing Tools to Improve Quality Throughout the Entire Software Lifecycle

Together, Visual Studio 2010 Ultimate, Visual Studio Test Professional 2010, Lab Management 2010, and Team Foundation Server offer Microsoft developers the most sophisticated, well-integrated testing solution they’ve ever had. Now, Microsoft MVP and VS testing guru Jeff Levinson shows exactly how to use Microsoft’s new tools to save time, reduce costs, and improve quality throughout the entire development lifecycle.

Jeff demonstrates how Microsoft’s new tools can help you finally overcome long-standing communication, coordination, and management challenges. You’ll discover how to perform first-rate functional testing; quickly create and execute tests and record the results with log files and video; and create bugs directly from tests, ensuring reproducibility and eliminating wasted time. Levinson offers in-depth coverage of Microsoft’s powerful new testing metrics, helping you ensure traceability all the way from requirements through finished software.

Coverage includes

• Planning your tests using Microsoft Test Manager (MTM)

• Creating test settings, structuring test cases, and managing the testing process

• Executing manual tests with Microsoft Test Manager and Test Runner

• Filing and resolving bugs, and customizing your bug reporting process

• Automating test cases and linking automated tests with requirements

• Executing automated test cases through both Visual Studio and Microsoft Test Manager

• Integrating automated testing into the build process

• Using Microsoft’s Lab Management virtualization platform to test applications, snapshot environments, and reproduce bugs

• Implementing detailed metrics for evaluating quality and identifying improvements

Whether you’re a developer, tester, manager, or analyst, this book can help you significantly improve the way you work and the results you deliver—both as an individual right now, and as a team member throughout your entire project.

Advanced .NET Debugging

Author: Mario Hewardt
List price: $54.99
Amazon price: $36.48   Book details at Amazon.com
Average rating:  / 0 (0 reviews)
Publisher: Addison-Wesley Professional (19 November 2009)

“Mario Hewardt’s Advanced .NET Debugging is an excellent resource for both beginner and experienced developers working with .NET. The book is also packed with many debugging tips and discussions of CLR internals, which will benefit developers architecting software.”

–Jeffrey Richter, consultant, trainer, and author at Wintellect

“Mario has done it again. His Advanced Windows Debugging (coauthored with Daniel Pravat) is an invaluable resource for native code debugging, and Advanced .NET Debugging achieves the same quality, clarity, and breadth to make it just as invaluable for .NET debugging.”

–Mark Russinovich, Technical Fellow, Microsoft Corporation

The Only Complete, Practical Guide to Fixing the Toughest .NET Bugs

Advanced .NET Debugging is the first focused, pragmatic guide to tracking down today’s most complex and challenging .NET application bugs. It is the only book to focus entirely on using powerful native debugging tools, including WinDBG, NTSD, and CDB, to debug .NET applications. Using these tools, author Mario Hewardt explains how to identify the real root causes of problems—far more quickly than you ever could with other debuggers.

Hewardt first introduces the key concepts needed to successfully use .NET’s native debuggers. Next, he turns to sophisticated debugging techniques, using real-world examples that demonstrate many common C# programming errors.

This book enables you to

  • Make practical use of postmortem debugging, including PowerDBG and other “power tools”
  • Understand the debugging details and implications of the new .NET CLR 4.0
  • Master and successfully use Debugging Tools for Windows, as well as SOS, SOSEX, CLR Profiler, and other powerful tools
  • Gain a deeper, more practical understanding of CLR internals, such as examining thread-specific data, managed heap and garbage collector, interoperability layer, and .NET exceptions
  • Solve difficult synchronization problems, managed heap problems, interoperability problems, and much more
  • Generate and successfully analyze crash dumps

A companion web site (advanceddotnetdebugging.com) contains all sample code, examples, and bonus content.

Performance Testing Microsoft® .NET Web Applications (Pro-Developer)

Author: MICROSOFT ACE TEAM
List price: $39.99
Amazon price: $25.86   Book details at Amazon.com
Average rating:  / 0 (0 reviews)
Publisher: Microsoft Press ( 2 November 2002)

The shift from stand-alone desktop applications to Web-enabled applications that accommodate hundreds of thousands of simultaneous users makes performance testing critical. Find out how to make your Microsoft® .NET-based applications perform as well as or better than traditional desktop applications with this book—written by the Microsoft team that tests and tunes hundreds of Web sites and Web-based applications. You’ll learn how to take advantage of the best available tools to plan and execute performance tests, configure profile tools, analyze performance data from Microsoft Internet Information Services, Microsoft ASP.NET, managed code, the SQL tier, and more. You’ll also learn how to use the testing methodology that Microsoft uses to stress test its own sites—some of the most popular, high-performance Web sites in the world.

Topics covered include:

  • The testing methodology used on Microsoft.com, Xbox™.com, and other high-volume sites
  • Planning the performance test
  • Stress testing with Microsoft Application Center Test (ACT)
  • Monitoring application performance with Performance Monitor
  • Testing Web site security
  • Application Network Analysis
  • Analyzing the Web tier
  • Analyzing managed code
  • Analyzing the SQL tier
  • Transaction Cost Analysis (TCA)

INCLUDED ON CD-ROM:

  • A fully searchable electronic copy of the book
  • Scripts that test the performance of IbuySpy.com

A Note Regarding the CD or DVD

The print version of this book ships with a CD or DVD. For those customers purchasing one of the digital formats in which this book is available, we are pleased to offer the CD/DVD content as a free download via O'Reilly Media's Digital Distribution services. To download this content, please visit O'Reilly's web site, search for the title of this book to find its catalog page, and click on the link below the cover image (Examples, Companion Content, or Practice Files). Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to booktech@oreilly.com.

Testing .NET Application Blocks

Author: Microsoft Corporation
List price: $19.99
Amazon price: $0.01   Book details at Amazon.com
Average rating:  / 0 (0 reviews)
Publisher: Microsoft Press (13 April 2005)

Complex software environments require more in-depth testing. This book delivers the detailed guidance you need to plan and execute testing for the solutions you develop with Microsoft PATTERNS & PRACTICES application blocks. Whether you’re customizing the application blocks or integrating them into existing applications, you’ll understand the key considerations for verifying that your code meets its requirements for performance, availability, scalability, compatibility, globalization, and security features. You’ll find code examples, sample test cases, and checklists that demonstrate how to plan and implement each type of test; the guide also recommends tools to use to run the tests.

While this book was designed specifically for use in testing Microsoft PATTERNS & PRACTICES application blocks, it also provides an excellent resource for testing other .NET code.

All PATTERNS & PRACTICES guides are reviewed and approved by Microsoft engineering teams, consultants, partners, and customers—delivering accurate, real-world information that’s been technically validated and tested.

A Tester's Guide to .NET Programming (Expert's Voice)

Author: Mary Romero Sweeney
List price: $64.99
Amazon price: $0.74   Book details at Amazon.com
Average rating:  / 0 (0 reviews)
Publisher: Apress ( 2 February 2006)

If you’re a tester or work in a light-programming capacity, then this comprehensive book will get you up to speed on Microsoft's .NET technologies. Unlike other books, this one focuses solely on applied programming techniques for testers. You will learn how to write simple automated tests, then test tools and utilities. You will also learn about the important concepts driving modern programming today, like multi-tier applications and Object Oriented Programming.

So whether you’re an experienced programmer unfamiliar with testing concepts, or you’re an experienced tester not versed 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. As the testing market continues to improve as more businesses adopt .NET technologies, this book will equip you to assess software robustness and performance.

Test-Driven Development in Microsoft .NET (Microsoft Professional)

Author: James W. Newkirk
List price: $39.99
Amazon price: $25.00   Book details at Amazon.com
Average rating:  / 0 (0 reviews)
Publisher: Microsoft Press (14 April 2004)

With the clarity and precision intrinsic to the Test-Driven Development (TDD) process itself, experts James Newkirk and Alexei Vorontsov demonstrate how to implement TDD principles and practices to drive lean, efficient coding—and better design. The best way to understand TDD is to see it in action, and Newkirk and Vorontsov walk step by step through TDD and refactoring in an n-tier, .NET-connected solution. And, as members of the development team for NUnit, a leading unit-testing framework for Microsoft .NET, the authors can offer matchless insights on testing in this environment—ultimately making their expertise your own.

Test first—and drive ambiguity out of the development process:

  • Document your code with tests, rather than paper
  • Use test lists to generate explicit requirements and completion criteria
  • Refactor—and improve the design of existing code
  • Alternate programmer tests with customer tests
  • Change how you build UI code—a thin layer on top of rigorously tested code
  • Use tests to make small, incremental changes—and minimize the debugging process
  • Deliver software that’s verifiable, reliable, and robust

Software Testing using Visual Studio 2010

Author: Subashni S. Satheesh Kumar N.
List price: $44.99
Amazon price: $41.95   Book details at Amazon.com
Average rating:  / 0 (0 reviews)
Publisher: Packt Publishing (26 December 2010)

If you are a developer, a software tester, or an architect who wishes to master the amazing range of features offered by the Visual Studio 2010 for testing your software applications before going live - then this book is for you. This book assumes that you have a basic knowledge of testing software applications and have good work experience of using Visual Studio IDE.

Dependency Injection in .NET

Author: Mark Seemann
List price: $49.99
Amazon price: $27.34   Book details at Amazon.com
Average rating:  / 0 (0 reviews)
Publisher: Manning Publications (28 September 2011)

Summary

Dependency Injection in .NET

presents core DI patterns in plain C#, so you'll fully understand how DI works, covers integration with standard Microsoft technologies like ASP.NET MVC, and teaches you to use DI frameworks like Structure Map, Castle Windsor, and Unity.

About the Technology

Dependency Injection is a great way to reduce tight coupling between software components. Instead of hard-coding dependencies, such as specifying a database driver, you inject a list of services that a component may need. The services are then connected by a third party. This technique enables you to better manage future changes and other complexity in your software.

About this Book

Dependency Injection in .NET introduces DI and provides a practical guide for applying it in .NET applications. The book presents the core patterns in plain C#, so you'll fully understand how DI works. Then you'll learn to integrate DI with standard Microsoft technologies like ASP.NET MVC, and to use DI frameworks like StructureMap, Castle Windsor, and Unity. By the end of the book, you'll be comfortable applying this powerful technique in your everyday .NET development.

This book is written for C# developers. No previous experience with DI or DI frameworks is required.

What's Inside
  • Many C#-based examples
  • A catalog of DI patterns and anti-patterns
  • Using both Microsoft and open source DI frameworks
Tabel of Contents
    PART 1 PUTTING DEPENDENCY INJECTION ON THE MAP
  1. A Dependency Injection tasting menu
  2. A comprehensive example
  3. DI Containers
  4. PART 2 DI CATALOG
  5. DI patterns
  6. DI anti-patterns
  7. DI refactorings
  8. PART 3 DIY DI
  9. Object Composition
  10. Object Lifetime
  11. Interception
  12. PART 4 DI CONTAINERS
  13. Castle Windsor
  14. StructureMap
  15. Spring.NET
  16. Autofac
  17. Unity
  18. MEF
« Previous123456789105455Next »