Integration Testing from the Trenches
Integration Testing from the Trenches
About the Book
Software development is a complex craft requiring many steps in its road to completion. In particular, achieving the best context-dependent ratio between cost and quality can only be achieved through an adequate testing strategy.
"Integration Testing from the Trenches" covers through different areas of testing and integration tests in both Java & JavaEE ecosystems:
- Definitions of relevant terms around testing and integration testing
- Basic testing tools usable for testing
- Build tools usage for integration testing, including recipes for Maven and Gradle
- Mocks, stubs and fakes, in particular in regard to infrastructure resources such as databases, mail and FTP servers, web services
- In-container testing for the Spring and Spring MVC applications
- In-container testing for JavaEE application
This book is intended for software developers that want to go beyond just unit-testing and test the collaboration of their classes and modules in an efficient way. At some point in time, available tools were restricted to Jakarta Cactus for Struts. However, the thriving Open Source ecosystem can now provide everything we need to provide proper integration tests, as well as ways to use them with the greatest possible Return Over Investment.
Packages
The Book
PDF
EPUB
WEB
English
The Book - 5 copies package
Get 5 copies of Integration Testing from the Trenches - with a discount
Includes:
The book in each electronic format
PDF, ePub (Apple) and mobi (Kindle)
PDF
EPUB
WEB
English
Table of Contents
- Foreword by Aslak Knutsen
- Foreword by Josh Long - Unit Testing in a Distributed World
- Preface
- About the author
- About the reviewers
- Book structure
-
1. Foundations of testing
- 1.1 Defining testing
- 1.2 Unit Testing
- 1.3 Integration Testing
- 1.4 Other testing flavors
- 1.5 Summary
-
2. Developer testing tools
- 2.1 A time before our time
- 2.2 Life-cycle phases
- 2.3 JUnit
- 2.4 TestNG
- 2.5 Summary
-
3. Test-Friendly Design
- 3.1 Reducing coupling
- 3.2 Double definitions
- 3.3 Mockito
- 3.4 Ready to use Fakes
- 3.5 Summary
-
4. Automated testing
- 4.1 Continuous integration
- 4.2 Automated build tools
- 4.3 Summary
-
5. Infrastructure Resources Integration
- 5.1 Common resource integration testing techniques
- 5.2 System Time integration
- 5.3 Filesystem integration
- 5.4 Database integration
- 5.5 eMail integration
- 5.6 FTP integration
- 5.7 Summary
-
6. Testing Integration with Web Services
- 6.1 REST Web Services
- 6.2 SOAP Web Services
- 6.3 Summary
-
7. Spring in-container testing
- 7.1 Spring dependencies management
- 7.2 Spring configuration modularization
- 7.3 Spring Test
- 7.4 Test doubles into the Spring context
- 7.5 Case study: Spring Pet clinic part 1
- 7.6 Summary
-
8. Spring Web MVC testing
- 8.1 Context hierarchies
- 8.2 Testing Spring MVC applications
- 8.3 Case study: Spring Pet Clinic part 2
- 8.4 Summary
-
9. Java EE testing
- 9.1 Shrinkwrap
- 9.2 Arquillian
- 9.3 Summary
-
Appendix A: Tools
- Root frameworks
- Assertion frameworks
- Mocking frameworks
- Fake API frameworks
- Fake Resource frameworks
- In-container related frameworks
- Miscellaneous libraries
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them