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
- 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
Autorentext
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 (Manning 2016). Roy's blog is at ArtOfUnitTesting.com.