Child pages
  • Moving integration tests closer to the code they test

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Clarify which tests will be packaged and that they will still live under src/test/java (feedback from Georg Henzler)

...

The proposal would see the tests moved to each bundle in the src/test/itjava module and executed for each module on mvn verify. These tests would then also be collected and launched in the org.apache.sling.launchpad.testing module. The test-jar dependency would only package integration tests, as unit tests will not be executed as part of the global Sling IT module.

The dependencies would ideally be implicit:

...