title: Maven: How to test two modules with the same tests in a third module
body: <p>Imagine a maven project with 3 modules, an interface module and two different implementations of this interface in a module each.
  I could test each implementation in its own module, but the test cases are basically the same, because of the same interface.</p>
  
  <p>Is there a way to collect the test cases in a fourth maven module and test the two implementations with this module?</p>
  
  <pre><code>parent
  |-interface
  |-impl a
  |-impl b
  |-tests
  </code></pre>
  
  <p>So that if I build impl a, maven knows to run the tests from the tests module against the impl a build.</p>
  
  <p>Thank you.</p>