Diferencia Java

Diferencia is designed to act as a proxy which intercepts calls to a service and multicast it to several instances of the same service. These instances are an old and new version of the service. Then when the response is returned from each instance, Diferencia will check if both responses are similar (we will see later what it means similar), and if it is the case, then the two implementations might be considered compatible and the new version implementation is regression-free.

Diferencia-Java is just a wrapper around Diferencia, which gives you a Java API for managing it in Java. It gives you the next features:

  • Install Diferencia automatically, you don’t need to install anything manually.

  • Start/Stop Diferencia without dealing directly with CLI.

  • Specific Http Client to connect to Diferencia Rest API.

  • Allows you to be used as plain Java. Core Module.

  • Integration to Java frameworks such as JUnit 4, JUnit 5, Maven, Gradle, Arquillian, …​

  • Integration with assertion library AssertJ.