null
Skip to main content

The Art of Unit Testing, Third Edition: with examples in JavaScript (The Art of) [9781617297489]

Paperback
SKU: 9781617297489
Buy More - Save More. Below are the available bulk discount rates for each individual item when you purchase a certain amount
Quantity Price Savings
25 - 99 15%
100 - 249 16%
250 - 499 17%
500 - 999 18%
1000+ 20%

Format Lightweight and affordable. Perfect for student groups and classrooms, and a versatile option for corporate trainings, team reads, or large-scale events.

Price $49.99

Total for 25 copies:

Adding to cart… The item has been added
You can purchase this title directly online anytime! If you need a formal quote for budget approval, submit a request and we’ll get it to you quickly.
  • Free shipping over $95
  • Price Match Guarantee. Found a better price? Let us know! We’ll work to match it so you get the best value with BookPal.

Overview

Unit testing is more than just a collection of tools and practices—it’s a state of mind! This bestseller reveals the master’s secrets for delivering robust, maintainable, and trustworthy code.

Thousands of developers have learned to hone their code quality under the tutelage of The Art of Unit Testing. This revised third edition updates an international bestseller to reflect modern development tools and practices, as well as to cover JavaScript.

Inside The Art of Unit Testing, Third Edition you will learn how to:

  • Create readable, maintainable, and trustworthy tests
  • Work with fakes, stubs, mock objects, and isolation frameworks
  • Apply simple dependency injection techniques
  • Refactor legacy code with confidence
  • Test both frontend and backend code

Effective unit tests streamline your software development process and ensure you deliver consistent high-quality code every time. With practical examples in JavaScript and Node, this hands-on guide takes you from your very first unit tests all the way to comprehensive test suites, naming standards, and refactoring techniques. You’ll explore test patterns and organization, working with legacy code and even “untestable” code. The many tool-agnostic examples are presented in JavaScript and carefully designed so that they apply to code written in any language.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

The art of unit testing is more than just learning the right collection of tools and practices. It’s about understanding what makes great tests tick, finding the right strategy for each unique situation, and knowing what to do when the testing process gets messy. This book delivers insights and advice that will transform the way you test your software.

About the book

The Art of Unit Testing, Third Edition shows you how to create readable and maintainable tests. It goes well beyond basic test creation into organization-wide test strategies, troubleshooting, working with legacy code, and “merciless” refactoring. You’ll love the practical examples and familiar scenarios that make testing come alive as you read. This third edition has been updated with techniques specific to object-oriented, functional, and modular coding styles. The examples use JavaScript.

What's inside

  • Deciding on test types and strategies
  • Test Entry & Exit Points
  • Refactoring legacy code
  • Fakes, stubs, mock objects, and isolation frameworks
  • Object-Oriented, Functional, and Modular testing styles

About the reader

Examples use JavaScript, TypeScript, and Node.js.

About the author

Roy Osherove is an internationally-recognized expert in unit testing and agile software methodology. Vladimir Khorikov is the author of Manning’s Unit Testing Principles, Practices, and Patterns, a Pluralsight author, and a Microsoft MVP.

Table of Contents

PART 1
1 The basics of unit testing
2 A first unit test
PART 2
3 Breaking dependencies with stubs
4 Interaction testing using mock objects
5 Isolation frameworks
6 Unit testing asynchronous code
PART 3
7 Trustworthy tests
8 Maintainability
PART 4
9 Readability
10 Developing a testing strategy
11 Integrating unit testing into the organization
12 Working with legacy code
Appendix Monkey-patching functions and modules

The book, The Art of Unit Testing, Third Edition: with examples in JavaScript (The Art of) [Bulk, Wholesale, Quantity] ISBN#9781617297489 in Paperback by Roy Osherove, Vladimir Khorikov may be ordered in bulk quantities. Minimum starts at 25 copies. Availability based on publisher status and quantity being ordered.

Details

Author:
Roy Osherove
Format:
Paperback
Publication Date:
03/26/2024
ISBN-10:
1617297488
ISBN-13:
9781617297489
Pages:
288
Publisher:
Manning

Customer Reviews

This product hasn't received any reviews yet. Be the first to review this product!

Need Books? BookPal Makes it Easy

  • Free Shipping

    Enjoy free ground shipping on us! Most orders over $95 qualify for free standard ground shipping.It takes an estimated 7-10 business days to deliver and may require additional processing time

    Learn More
  • Dedicated Account Managers

    At BookPal, we go beyond the transaction by providing personal support and a dedicated account manager for every customer.

    Learn More
  • Flexible Delivery Options

    We offer flexible delivery options such Free Ground Shipping (on most orders over $100), Expedited Premium, Expedited Express, International Shipping etc.

    Learn More
  • Sales Tax Exemption

    BookPal is a tax-exempt supplier for all 50 states. We can provide you with a tax-exempt certificate to use on your orders.

    Learn More
  • Price Match Guarantee

    With over 3 million book titles available, it's impossible to always be the lowest priced. If you find a lower price on a new title elsewhere that is available to ship in the quantity you need, we are happy to discount your books and match the lower price.

    Learn More
  • Multiple Payment Options

    BookPal accepts all major credit cards, PayPal, and checks by mail, along with Purchase Orders upon approval. We also accept ACH payments and wire transfers.

    Learn More

We are here to help, reach out to our team anytime!

Connect With Us

Subscribe to our newsletter for $25 off your next order of $500+

Review Your Cart Close Close
Your cart is empty Your cart is empty Your cart is empty
Recently Viewed Recently Viewed
Back to top Back to top