The Art of Unit Testing, Third Edition you own this product

with examples in JavaScript
Roy Osherove, Vladimir Khorikov
  • MEAP began December 2019
  • Publication in Early 2024 (estimated)
  • ISBN 9781617297489
  • 325 pages (estimated)
  • printed in black & white

placing your order...

Don't refresh or navigate away from the page.
eBook Our eBooks come in DRM-free Kindle, ePub, and PDF formats + liveBook, our enhanced eBook format accessible from any web browser. $35.99 $39.99 you save $4 (10%)
The Art of Unit Testing, Third Edition (eBook) added to cart
continue shopping
adding to cart

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free eBook every time you renew
  • choose twelve free eBooks per year
  • exclusive 50% discount on all purchases
  • The Art of Unit Testing, Third Edition eBook for free
print + eBook Receive a print copy shipped to your door + the eBook in Kindle, ePub, & PDF formats + liveBook, our enhanced eBook format accessible from any web browser. $44.99 $49.99 you save $5 (10%)
The Art of Unit Testing, Third Edition (print + eBook) added to cart
continue shopping
adding to cart

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free eBook every time you renew
  • choose twelve free eBooks per year
  • exclusive 50% discount on all purchases
  • The Art of Unit Testing, Third Edition eBook for free

free previous edition eBook included

An eBook copy of the previous edition of this book is included at no additional cost. It will be automatically added to your Manning Bookshelf within 24 hours of purchase.

A book that is seeing a third release must be awesome and this book certainly is.

Sander Zegveld
Look inside
The Art of Unit Testing, Third Edition updates an international bestseller to reflect modern development tools and practices. This expanded edition teaches you to write unit tests for async and observable code, as well as methods of faking functions, modules and refactorings. 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 are carefully designed so that they apply to code written in any language.

about the technology

Unit testing is a universally-adopted practice on dev teams of all sizes. Great developers will tell you that testing is as much a state of mind as a collection of tools and practices. The Art of Unit Testing, Third Edition takes you below the surface and understand how unit testing can transform the way you deliver and maintain software. Now with examples in JavaScript, this new edition has been updated to reflect the characteristics of a modern codebase, including async and modularized, distributed services. The practices and patterns you’ll learn can also be easily applied to other languages, including C#, Java, and Python.

about the book

The Art of Unit Testing, Third Edition guides you step by step from your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. Now with examples using JavaScript and Node, this expanded third edition teaches you to write unit tests for async and observable code, as well as methods of faking functions, modules and refactorings. You’ll get to grips with complex subjects such as mocks and stubs, explore how to handle tricky legacy codebases, and save yourself time with tests that function for both frontend and backend applications. The Art of Unit Testing, Third Edition is an essential guide for any unit tester who wants to feel confident writing code that’s easier to create, maintain, and adapt.

what's inside

  • Creating readable, maintainable, and trustworthy tests
  • Working with fakes, stubs, mock objects, and isolation (mocking) frameworks
  • Simple dependency injection techniques
  • Refactoring legacy code

about the reader

The examples in the book use JavaScript and Node and cover the full dev stack.

about the authors

Roy Osherove is an internationally-recognized expert in unit testing and agile software methodology. Still an active coder, he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. He is also the author of Elastic Leadership. Roy’s blog is at ArtOfUnitTesting.com.

Vladimir Khorikov is the author of Unit Testing Principles, Practices, and Patterns, Pluralsight author, and Microsoft MVP. He has mentored numerous teams on the ins and outs of unit testing.

FREE domestic shipping on orders of three or more print books

A didactic and entertaining approach to learning the intricacies of unit testing. Gives the the reader a solid mental framework to work with.

Adriaan Beiertz

Previous editions of the book were widely regarded as one of the best books in Unit Testing. The decision to update it to include examples in JavaScript (according to most surveys, the most used programming language in the world) is a smart move, making the book more directly applicable to most programmers, regardless of their server-side stack.

Jaume Lopez

This book is a must read, for any one who would like to be a better javascript developer or wants to start integrating Unit-Tests into their development process. It is a great balance between technical background and hand on examples.

Charles Lam
RECENTLY VIEWED