Practical Unit Testing with JUnit and Mockito
Language: English
Published by Tomasz Kaczanowski, 2013
- Softcover
- Used

Seller: AwesomeBooks, Wallingford, United KingdomAwesomeBooks
AbeBooks seller since November 28, 2006
Condition: Used - Very good
US$ 9.41
Quantity: 2 available
Add to basketItem description from seller
Practical Unit Testing with JUnit and Mockito This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. .
Seller Inventory # 7719-9788393489398
- Title
- Practical Unit Testing with JUnit and Mockito
- Author
- Tomek Kaczanowski
- Publisher
- Tomasz Kaczanowski
- Publication year
- 2013
- Condition
- Very Good
- Binding
- Paperback
- Language
- English
- ISBN 10
- 8393489393
- ISBN 13
- 9788393489398
This book explains in detail how to implement unit tests using two very popular open source Java technologies: JUnit and Mockito. It presents a range of techniques necessary to write high quality unit tests - e.g. mocks, parametrized tests and matchers. It also discusses trade-offs related to the choices we have to make when dealing with some real-life code issues.
The book stresses the importance of writing readable and maintainable unit tests, and puts a lot of stress on code quality. It shows how to achieve testable code and to eliminate common mistakes by following the Test Driven Development approach. Every topic discussed in the book is illustrated with code examples, and each chapter is accompanied by some exercises.
By reading this book you will:
- Grasp the role and purpose of unit tests
- Write high-quality, readable and maintainable unit tests
- Learn how to use JUnit and Mockito (but also other useful tools)
- Avoid common pitfalls when writing unit tests
- Recognize bad unit tests, and fix them in no time
- Develop code following the Test Driven Development (TDD) approach
- Use mocks, stubs and test-spies intelligently
- Measure the quality of your tests using code coverage and mutation testing
- Learn how to improve your tests' code so it is an asset and not a burden
- Test collections, expected exceptions, time-dependent methods and much more
- Customize test reports so that they show you what you really need to know
- Master tools and techniques your team members have never even heard of (priceless!) :)
Nowadays every developer is expected to write unit tests. While simple in theory, in practice writing high-quality unit tests can turn out to be a real challenge. This book will help.
"Synopsis" may belong to another edition of this title.
About the Author
"About the title" may belong to another edition of this title.
AwesomeBooks
Wallingford, United Kingdom
AbeBooks seller since November 28, 2006
Shipping rates from United Kingdom to U.S.A.
| Item | 4 to 15 business days | 4 to 15 business days |
|---|---|---|
| First item | US$ 5.44 | US$ 5.44 |
Payment methods
Store description
Started in an unfortunate mother's basement in 2004 with books that a student layabout no longer needed, AwesomeBooks now stocks over 2 million titles which are ready to be sent to your door within 24hours of ordering. Our heritage is in supplying great quality used books. We have over 1.8 million books in our distribution centre ready to be shipped to you at any time. We also sell new books and are increasing our range of titles every day.
Specialty
Used Books, New BooksSeller's business information
WRAP Ltd
Unit 4,, 119 Loverock Road
Reading, United Kingdom RG30 1DZ
Terms of sale
All our books are used in either Good or Very Good condition. Should there be any problems after purchase email us and we will sort it out to your satisfaction.
Shipping terms
We try to keep our shipping terms as simple as possible :)
Shipping cost for orders to other destinations vary, so please check your destination country for more details.