Unit Testing Principles, Practices, and Patterns

EPUB · English
Price and availability
EPUB eBookUS store
$67.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Manning
- Published
- 6 January 2020
- ISBN
- 9781638350293
- Subjects
- Computer programming / software development, Programming & scripting languages: general, Software Engineering, Computer programming / software engineering, Programming and scripting languages: general, Software Engineering
About this book
"e;This book is an indispensable resource."e; - Greg Wright, Kainos Software Ltd.Radically improve your testing practice and software quality with new testing styles, good patterns, and reliable automation.Key FeaturesA practical and results-driven approach to unit testingRefine your existing unit tests by implementing modern best practicesLearn the four pillars of a good unit testSafely automate your testing process to save time and moneySpot which tests need refactoring, and which need to be deleted entirelyAbout The BookGreat testing practices maximize your project quality and delivery speed by identifying bad code early in the development process. Wrong tests will break your code, multiply bugs, and increase time and costs. You owe it to yourselfand your projectsto learn how to do excellent unit testing.Unit Testing Principles, Patterns and Practices teaches you to design and write tests that target key areas of your code including the domain model. In this clearly written guide, you learn to develop professional-quality tests and test suites and integrate testing throughout the application life cycle. As you adopt a testing mindset, youll be amazed at how better tests cause you to write better code.What You Will LearnUniversal guidelines to assess any unit testTesting to identify and avoid anti-patternsRefactoring tests along with the production codeUsing integration tests to verify the whole systemThis Book Is Written ForFor readers who know the basics of unit testing. Examples are written in C# and can easily be applied to any language.About the AuthorVladimir Khorikov is an author, blogger, and Microsoft MVP. He has mentored numerous teams on the ins and outs of unit testing.Table of Contents:PART 1 THE BIGGER PICTURE1 The goal of unit testing2 What is a unit test?3 The anatomy of a unit testPART 2 MAKING YOUR TESTS WORK FOR YOU4 The four pillars of a good unit test5 Mocks and test fragility6 Styles of unit testing7 Refactoring toward valuable unit testsPART 3 INTEGRATION TESTING8 Why integration testing?9 Mocking best practices10 Testing the databasePART 4 UNIT TESTING ANTI-PATTERNS11 Unit testing anti-patterns
Bibliographic data © Gardners Books Ltd.