Skip to content

Clean-up integration tests and improve re-use of pomless projects #4772

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

HannesWell
Copy link
Member

If tycho-pomless is used in (integration) test-resources/projects the entire project structure, especially including the '.mvn' folder has to be copied into the clean test-environment, even if just a sub-project is executed.
This extends AbstractTychoIntegrationTest.getVerifier() to add overloads that allow to specify the project-structure root and the specific sub-folder that is eventually executed.

There are probably more integration that could be cleaned-up with this, but as a first step I have only used it in one place.

@HannesWell HannesWell added the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label Mar 1, 2025
@HannesWell HannesWell force-pushed the clean-up-integration-tests branch from 912d49f to 0f7607f Compare March 1, 2025 13:41
Copy link

github-actions bot commented Mar 1, 2025

Test Results

  609 files    609 suites   4h 20m 58s ⏱️
  435 tests   427 ✅  7 💤 1 ❌
1 305 runs  1 282 ✅ 22 💤 1 ❌

For more details on these failures, see this check.

Results for commit a8fbbb0.

♻️ This comment has been updated with latest results.

If tycho-pomless is used in (integration) test-resources/projects the
entire project structure, especially including the '.mvn' folder has to
be copied into the clean test-environment, even if just a sub-project is
executed.
This extends AbstractTychoIntegrationTest.getVerifier() to add overloads
that allow to specify the project-structure root and the specific
sub-folder that is eventually executed.
@HannesWell HannesWell force-pushed the clean-up-integration-tests branch 3 times, most recently from 0d89b36 to 38b982a Compare March 1, 2025 16:47
@HannesWell HannesWell force-pushed the clean-up-integration-tests branch from 38b982a to a8fbbb0 Compare March 1, 2025 16:49
@laeubi laeubi removed the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants