Home > Java > First release of Integration Testing from the Trenches

First release of Integration Testing from the Trenches

My job as a software architect is to make sure the builds I provide have the best possible quality, and more specifically internal quality. While Unit Testing sure helps creating less regressions, relying only on it is akin to testing a car by testing its nuts and bolts. Integration Testing is about getting the car on a circuit.

Last week, I finally released the fist version of Integration Testing from the Trenches. As its name implies, this book is about Integration Testing. It is organized in the following chapters:

Chapter 1 – Foundations of testing
This is an introductory chapter, laying out the foundations for the rest of the book. It describes Unit Testing, Integration Testing and Functional Testing, as well as their associated notions.
Chapter 2 – Developer testing tools
This chapter covers both the JUnit and TestNG testing frameworks. Tips and tricks on how to use them for Integration Testing are also included.
Chapter 3 – Test-Friendly Design
This chapter details Dependency Injection, DI-compatible design and which objects should be set as dependencies during tests execution. This includes definitions of Test Doubles, such as Dummy,  Fake and Mock along with an explanation of Mockito, a Mocking framework and Spring Test and Mockrunner, two OpenSource available Fake libraries.
Chapter 4 – Automated testing
It covers how to get our carefully crafted Integration Tests to run through automated build tools, like Maven and Gradle.
Chapter 5 – Infrastructure Resources Integration
This chapter concerns itself about Integration Testing applied to infrastructure resources such as databases, mail servers, ftp servers and others. Tools and techniques about each resource type will be explained.
Chapter 6 – Web Services Integration
This chapter is solely dedicated to Integration Testing with Web Services, either in SOAP or REST flavor.
Chapter 7 – Spring in-container testing
In this chapter, testing recipes for Spring and Spring MVC applications are described. It also includes coverage of the Spring Test library.
Chapter 8 – JavaEE testing
Last but not least, this chapter covers testing of Java EE applications, including the Arquillian testing framework.

There’s a free sample chapter for you kind reader if you want to go further. Here’s a 10% discount valid for the whole week to have something to read on the beach during vacations!

In all cases, I’ll take excerpts from the book and publish them on this blog in the following week.

Send to Kindle
Categories: Java Tags:
  1. Fred Deniger
    June 30th, 2014 at 12:15 | #1

    Congratulations Nico !
    I ‘m going to buy a version

  2. July 4th, 2014 at 21:22 | #2

    @Fred Deniger
    Thanks my Fred! Hope you’ll learn new tricks!

  3. July 5th, 2014 at 00:18 | #3

    Do you get free updates when available? I bought a version on 17/06/14 and I did not find any link to get updates…

  4. July 5th, 2014 at 00:28 | #4

    Hello Christophe,
    Thanks for purchasing the book. Yes, you get free updates for each and every release. However, since I’ve only released a single pre-version as of now, it’s expected you didn’t get any update. The next versions will either include chapter 5 reviewed (mostly free of typos) or the brand new chapter 7, about Spring – whichever comes first. At this time, you should receive an email telling you a new version has been released.

    Should you have any further questions, please don’t hesitate to send them my way.

  5. July 5th, 2014 at 11:51 | #5

    I realized that after my post. I read your article quickly and thought you were announcing a new version :).

    I started to read it and that’s really an awesome start. Keep going!

  1. No trackbacks yet.