Integration Testing from the Trenches
Integration Testing from the Trenches
$20.00
Minimum price
$30.00
Suggested price
Integration Testing from the Trenches

This book is 100% complete

Completed on 2016-08-04

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.

About the Author

Nicolas Fränkel
Nicolas Fränkel

Nicolas Fränkel operates as a successful Java and Java EE software architect and developer with more than 12 years experience in consulting for different clients. He also practices a trainer and a part-time lecturer in different French and Swiss higher education institutions, so as to broaden his understanding of software craftsmanship. Nicolas has also been a speaker at miscellaneous Java-related conferences in Europe, such as Deovxx Belgium, JEEConf, JavaLand and some Java User Groups and is the author of Learning Vaadin and Learning Vaadin 7. Nicolas's interests in software are broad, ranging from Rich Client Application, to open source software and build automation through Quality Processes, including diverse flavors of testing. When not tinkering with new products or writing blog posts, he may be found practicing sports: running, swimming, squashing and skiing at the moment. Other leisure activities include reading novels, motorcycles, photography, and drawing, not necessarily in that order.

Packages

The Book
  • English

  • PDF

  • EPUB

  • MOBI

  • APP

$20.00
Minimum price
$30.00
Suggested price
The Book - 5 copies package

Get 5 copies of Integration Testing from the Trenches - with a discount

Includes:

  • extras
    The book in each electronic format

    PDF, ePub (Apple) and mobi (Kindle)

  • English

  • PDF

  • EPUB

  • MOBI

  • APP

$80.00
Minimum price
$100.00
Suggested price

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 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub