OpenLiberty / liberty-tools-eclipse

Eclipse Public License 2.0
11 stars 8 forks source link

For multi-module Maven cases, provide for execution of tests and viewing of test reports #494

Open scottkurz opened 7 months ago

scottkurz commented 7 months ago

The biggest gap at the moment is in the case where you select the aggregator module on the dashboard and do the sequence:

1."Start" 2."Run tests"

  1. "View integration test report" (same w/ UT)

Running the tests works fine, dev mode will go to each sub-module and execute tests. But the viewing of the test report won't find anything.

FWIW, in Liberty Tools Eclipse, if the submodule with the tests are present in the dashboard you could view the test report by selecting the view test report from the sub module.

The design needs to be worked out in more detail but we have to mediate the difference here btw. the view and execution at the aggregate level and the report existing at a submodule level.

FURTHER THOUGHTS

  1. We could possibly go further and allow execution of tests ONLY scoped to a sub-module. This could be worth doing in this issue, or we could break this out into a follow-up item.
  2. Somewhat related, we don't handle non-default reporting config https://github.com/OpenLiberty/liberty-tools-eclipse/issues/67

CONTEXT